<p>I have started to learn kubernetes. So, I have installed minikube, and I don't know how to push my local builded image to kubernetes. I'm doing next:  </p>

<pre><code>minikube start 
eval $(minikube docker-env) 
docker build -t some_image  
</code></pre>

<p>But when I run docker images, there isn't my image. So can you help me, how to push and deploy my local docker image?</p>

HudsonHornet
<p>Answer shared by @fatcook is good reference point, a simpler solution would be. </p>

<p>Before building the docker image just execute : <code>eval $(minikube docker-env)</code>.</p>

<p>It will export following variables. </p>

<pre><code>export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.100:2376"
export DOCKER_CERT_PATH="/Users/username/.minikube/certs"
export DOCKER_API_VERSION="x.yy"
# Run this command to configure your shell:
# eval $(minikube docker-env)
</code></pre>

<p>Now you can build images <code>docker build</code> and it will be available on minikube instance.</p>

<p>It's a simple dirty way to go.</p>
