<p>I have a local kubernetes cluster (minikube), that is trying to load images from my local Docker repo.</p>
<p>When I do a &quot;docker images&quot;, I get:</p>
<pre><code>cluster.local/container-images/app-shiny-app-validation-app-converter            1.6.9
cluster.local/container-images/app-shiny-app-validation                          1.6.9
</code></pre>
<p>Given I know the above images are there, I run some helm commands which uses these images, but I get the below error:</p>
<pre><code>Events:
  Type     Reason     Age                  From               Message
  ----     ------     ----                 ----               -------
  Normal   BackOff    66s (x2 over 2m12s)  kubelet            Back-off pulling image &quot;cluster.local/container-images/app-shiny-app-validation-app-converter:1.6.9&quot;
  Warning  Failed     66s (x2 over 2m12s)  kubelet            Error: ImagePullBackOff
  Normal   Pulling    51s (x3 over 3m24s)  kubelet            Pulling image &quot;cluster.local/container-images/app-shiny-app-validation-app-converter:1.6.9&quot;
  Warning  Failed     11s (x3 over 2m13s)  kubelet            Failed to pull image &quot;cluster.local/container-images/app-shiny-app-validation-app-converter:1.6.9&quot;: rpc error: code = Unknown desc = Error response from daemon: Get https://cluster.local/v2/: dial tcp: lookup cluster.local: Temporary failure in name resolution
  Warning  Failed     11s (x3 over 2m13s)  kubelet            Error: ErrImagePull
</code></pre>
<p>Anyone know how I can fix this? Seems the biggest problem is <code>Get https://cluster.local/v2/: dial tcp: lookup cluster.local: Temporary failure in name resolution</code></p>

<p>Since minikube is being used, you can refer to their documentation.
It is recommended that if a <code>imagePullPolicy</code> is being used, it needs to be set to <code>Never</code>. If set to <code>Always</code>, it will try to reach out and pull from the network.</p>
<p>From docs: <a href="https://minikube.sigs.k8s.io/docs/handbook/pushing/" rel="nofollow noreferrer">https://minikube.sigs.k8s.io/docs/handbook/pushing/</a>
&quot;Tip 1: Remember to turn off the imagePullPolicy:Always (use imagePullPolicy:IfNotPresent or imagePullPolicy:Never) in your yaml file. Otherwise Kubernetes won’t use your locally build image and it will pull from the network.&quot;</p>
