<p>I am trying to run a docker image that I have build locally with Kubernetes. <br>
Getting below error</p>
<pre><code>Failed to pull image &quot;myImage&quot;: rpc error: code = Unknown desc = Error response from daemon: pull access denied for myImage, repository does not exist or may require 'docker login'
</code></pre>
<p><em><strong>In yaml file i have given as</strong></em></p>
<pre><code>image: myImage 
imagePullPolicy: IfNotPresent
</code></pre>
<p>In local i am using docker-desktop and minikube.</p>
<p>I have tried multiple ways but only thing is working on to make tar of myImage and load in minikube.
I have tried using eval $(minikube docker-env) but after this my image is not able to build because it's pulling base image from organization nexus server.
Can anyone suggest anyother way?</p>

<p>To fix this, set <code>imagePullPolicy</code> to <code>Never</code>.</p>
<p>Ensure to set <code>eval $(minikube docker-env)</code> before building the image.</p>
