Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Boot2docker proxy on Windows

I have installed boot2docker on Windows. I've tried to configure the proxy with the help of https://github.com/boot2docker/boot2docker-cli/issues/230, but it didn't 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
like image 802
Mansuro Avatar asked Jan 09 '23 11:01

Mansuro


1 Answers

See "How do I get Docker to run on a Windows system behind a corporate firewall?".

You need to set up:

  • set HTTP_PROXY, HTTPS_PROXY and NO_PROXY in your cmd session, in order for boot2docker download to work.

  • (export) http_proxy, http_proxy and no_proxy in the /var/lib/boot2docker/profile in order for a docker search (for example) to work.

    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
    
like image 69
VonC Avatar answered Jan 11 '23 02:01

VonC