Pulling image from local docker repository
<h2>Cannot pull image from local repository inside Minikube</h2>

<p>I have a local docker repository set up on my local machine (mac). I only have two images stored in there.
I'm setting up various containers with Kubernetes definition files and on of my configurations is a replication controller that pulls the image from my repository which works fine. The other is a PetSet which pulls from the same repository but fails. UGH!!!</p>

<p>When I push to my local repository I use:</p>

<pre><code>localhost:5000/image/name:v1
</code></pre>

<p>and when I reference the image from my Kubernetes configuration I use:</p>

<pre><code>{local ip addr}:5000/image/name:v1
</code></pre>

<p>If I SSH into my Minikube instance and try to manually pull the image I get the following: <code>Error response from daemon: read tcp 10.0.2.15:51958-&gt;{my local ip addr}:5000: read: connection reset by peer</code></p>

<p>This has been working fine until today.</p>

<p>When I start my Minikube VM I add the flag </p>

<pre><code>--insecure-registry={ip addr of my machine}:5000
</code></pre>

<p>So far I've tried</p>

<ul>
<li>Deleting the minikube and .minikube directory (multiple times)</li>
<li>Deleting and recreating my local repository</li>
<li>Completely reinstalling Minikube</li>
</ul>

<p>I'm currently at a complete loss as to why one image is successfully pulled from the local repository and the other fails.</p>