<p>I've installed Docker Desktop version 2.1.0.1 on my Windows 10 PRO laptop which has Hyper-V enabled. </p>

<p>Because of quite a few know issues of MiniKube with Windows 10, I'm using the kubernetes installation provided within the Docker Desktop application.</p>

<p>I've created a private repository on 10.1.1.101:5000. I've also added this IP to the list of insecure hosts.</p>

<p>Before I enabled kubernetes, I was able to push and pull images freely from my private registry. But once I started kubernetes, I've started getting an </p>

<blockquote>
  <p>C:\Users\saurabh> docker pull 10.1.1.101:5000/busybox
  Using default tag: latest
  Error response from daemon: Get <a href="http://10.1.1.101:5000/v2/" rel="nofollow noreferrer">http://10.1.1.101:5000/v2/</a>: dial tcp 10.1.1.101:5000: connect: no route to host</p>
</blockquote>

<p>My system's IP address is on the same network: <code>10.1.1.115</code></p>

<p>Any help here is appreciated.</p>

<p>try to delete all unused Docker Networks:</p>

<pre><code>docker network prune
</code></pre>

<p>then set <code>bip</code> in your <code>C:\ProgramData\Docker\config\daemon.json</code> to use the same subnet as your network see <a href="https://docs.docker.com/v17.09/engine/userguide/networking/default_network/custom-docker0/" rel="nofollow noreferrer">this</a></p>

<p>hope that will help you</p>
