Boot2docker proxy on Windows

I installed boot2docker on Windows. I tried to configure the proxy using https://github.com/boot2docker/boot2docker-cli/issues/230 , but this did not work.

When I execute boot2docker download, I get the following error:

boot2docker download
Latest release for github.com/boot2docker/boot2docker is v1.6.0
Downloading boot2docker ISO image...
error in run: Failed to download ISO image: Get https://s3.amazonaws.com/github-cloud/releases/14930729/0573f322-e442-11e4-8500-b1bbe904b032.iso?response-content-disposition=attachment%3B%20filename%3Dboot2docker.iso&response-content-type=application/octet-stream&AWSAccessKeyId=AKIAISTNZFOVBIJMK3TQ&Expires=1430303112&Signature=oTercMri%2FkqD9cbA315JhNHzehk%3D:
Proxy Authentication Required
+4
source share
3 answers

See How do I get Docker to work on Windows behind a corporate firewall? "

You need to configure:

  • set HTTP_PROXY, HTTPS_PROXYand NO_PROXYin the session cmd, to boot2docker downloadwork.

  • (export) http_proxy, http_proxyand no_proxyin /var/lib/boot2docker/profilefor work docker search(for example).

    export http_proxy=http://<user>:<pwd>@proxy.company:80
    export https_proxy=http://<user>:<pwd>@proxy.company:80
    export no_proxy=.company,.sock,localhost,127.0.0.1,::1,192.168.59.103
    
+7
source

VonC . :

--engine-env HTTP_PROXY=...etc

docker-machine.exe start.sh, . export HTTP_PROXY .

+1

Docker CMD, ( CNTLM, ):

docker-machine create -d virtualbox 
  -engine-env HTTP_PROXY=[IP]:3128 
  -engine-env HTTPS_PROXY=[IP]:3128 
default

, :

+1

All Articles