Docker Community Forums

Share and learn in the Docker community.

Docker-machine behind corporate proxy

Hi,

How can I overcome this?

PS C:\WINDOWS\system32> docker-machine create --driver hyperv --hyperv-virtual-switch My-Virtual-Switch host2
Running pre-create checks...
(host2) Unable to get the latest Boot2Docker ISO release version:  Get https://api.github.com/repos/boot2docker/boot2docker/releases/latest: dial tcp 192.30.253.116:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

docker-machine is an http client, and does not use the system’s proxy settings.

My corporate proxy requires authentication, and the same proxy address is use for both schemes (http and https).

I attempted instructions for setting the http proxy with netsh with no success.

Thanks,
John