How to use Boot2Docker on OSX From Behind a Proxy
SSH into the Boot2Docker shell boot2docker ssh Create/edit the profile sudo vi /var/lib/boot2docker/profile Add the proxy environment variables to it (if your proxy doesn't require a password leave out the 'user:pass@' export https_proxy=http://user:pass@proxy.host.com:port export http_proxy=http://user:pass@proxy.host.com:port save and close the file Restart the docker daemon and exit boot2docker sudo /etc/init.d/docker restart exit