<p>i build the docker image on my local machine and trying to pull docker image using kubectl. but its not starting the docker container.</p>

<p>images starts with docker command.</p>

<pre><code>REPOSITORY                                            TAG                 IMAGE ID            CREATED             SIZE
tomcat9                                               latest              8b228ac6f19f        About an hour ago   111 MB
</code></pre>

<p>It stats with ImagePullBackOff   massage.</p>

<pre><code>$ kubectl get pods
NAME                             READY     STATUS             RESTARTS   AGE
tomcat9-511437148-sgkwp          0/1       ImagePullBackOff   0          9m
</code></pre>

<p>How can I make kubectl to run this docker image?</p>

<p>Thanks</p>

<p>I see from your comments bellow you are using Minikube locally.</p>

<p>Minikube runs inside a virtual machine, the Docker running inside Minikube and the Docker running on you machine are two separate instances so will not have access to the same images, you can however link the Docker inside Minikube to your local Docker using <code>eval $(minikube docker-env)</code>, you can read more <a href="https://github.com/kubernetes/minikube#reusing-the-docker-daemon" rel="noreferrer">here</a>.</p>

<p>Also, you can get more information about why the <code>ImagePullBackOff</code> has happened by running <code>kubectl describe pods tomcat9-511437148-sgkwp</code>.</p>
