In order to be able to download images from the internet,
-
add the below lines:
export http_proxy=http://proxy:8080
export https_proxy=http://proxy:8080
export no_proxy=*.lan
using:
sudo vi /var/lib/boot2docker/profile
-
then restart the docker daemon using:
sudo /etc/init.d/docker restart
-
test it using:
docker pull learn/tutorial
(inspiration: http://stackoverflow.com/questions/20196051/how-to-get-docker-to-run-on-a-windows-system-behind-a-corporate-firewall/29303930#29303930)