Connecting to docker machine while connected through VPN in Windows 7
<p>I am running docker-machine on Windows 7 as part of the docker toolbox</p>

<p>When I run</p>

<pre><code>&gt; docker-machine env
SET DOCKER_TLS_VERIFY=1
SET DOCKER_HOST=tcp://192.168.99.100:2376
SET DOCKER_CERT_PATH=...\.docker\machine\machines\default
SET DOCKER_MACHINE_NAME=default
</code></pre>

<p>After configuring shell, I can interact with docker without any problem.</p>

<p>The problem arises when I connect to different network through VPN.</p>

<p>When I use</p>

<pre><code>&gt; tracert 192.168.99.100
</code></pre>

<p>I can see this IP is intercepted by VPN and that's the reason I get exception when running</p>

<pre><code>&gt; docker-machine env
Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.100:2376": dial tcp 192.168.99.100:2376: i/o timeout
</code></pre>

<p>Is there a way to change DOCKER_HOST as follows?</p>

<pre><code>SET DOCKER_HOST=tcp://127.0.0.1:2376
</code></pre>

<p>Thanks for any help!</p>