Last active
August 29, 2015 14:14
-
-
Save ochinchina/5e934e019bc778ed6e8c to your computer and use it in GitHub Desktop.
pull docker image behind firewall in ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
edit file /etc/default/docker and set the http_proxy properly | |
or | |
edit file /etc/default/docker.io and set the http_proxy | |
then restart the docker.io like: | |
$ sudo service docker.io restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment