I am running docker-machine on Windows 7 as part of the docker toolbox
When I run
> 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
After configuring shell, I can interact with docker without any problem.
The problem arises when I connect to different network through VPN.
When I use
> tracert 192.168.99.100
I can see this IP is intercepted by VPN and that's the reason I get exception when running
> 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
Is there a way to change DOCKER_HOST as follows?
SET DOCKER_HOST=tcp://127.0.0.1:2376
Thanks for any help!