<p>I have a local insecure docker registry which I created using the command:</p>
<pre class="lang-sh prettyprint-override"><code>docker run -d -p 5000:5000 --restart=always --name registry registry:2` 
</code></pre>
<p>I have added this to the <code>/etc/docker/daemon.json</code> as well. I tagged several images in the format <code>localhost:5000/&lt;orgname&gt;/&lt;imagename&gt;:&lt;tag&gt;</code> and pushed them to the insecure registry.</p>
<p>When I run <code>curl -X GET localhost:5000/v2/_catalog</code> I can see that they are available inside the local registry.</p>
<p>I started minikube with the command <code>minikube start --insecure-registry=&quot;localhost:5000&quot;</code>. Here, my default driver is docker (I also tried with kvm2). I enabled the registry addon as well using the command <code>minikube addons enable registry</code></p>
<p>I have a configmap which states the image in the format I mentioned earlier. When I apply this using <code>kubectl</code>, I get an <code>ImagePullBackoff</code> error with the error message</p>
<pre class="lang-sh prettyprint-override"><code>Failed to pull image &quot;localhost:5000/org/product:tag&quot;: rpc error: code = Unknown desc = Error response from daemon: manifest for localhost:5000/org/product:tag not found: manifest unknown: manifest unknown
</code></pre>
<p>Any ideas as to why this is happening?</p>
<p>Docker version: <code>19.03.8, build afacb8b7f0</code></p>
<p>Minikube version: <code>1.9.2</code></p>
<p>Ubuntu 20.04 LTS</p>

RrR-
<p>Well, the minikube K8s subnet is different from the one that your registry is running so <code>localhost</code> is not going to work without some tweaks. I recommend following the <a href="https://minikube.sigs.k8s.io/docs/handbook/registry/" rel="nofollow noreferrer">minikube official guide</a> and not run:</p>
<pre class="lang-sh prettyprint-override"><code>docker run -d -p 5000:5000 --restart=always --name registry registry:2` 
</code></pre>
<p>In essence, it says that after running:</p>
<pre class="lang-sh prettyprint-override"><code>minikube addons enable registry
</code></pre>
<p>Then when you create your minikube instance</p>
<pre><code>minikube start --drive=docker --insecure-registry &quot;10.0.0.0/24&quot;
</code></pre>
