Skip to content

Instantly share code, notes, and snippets.

@ochinchina
Last active August 29, 2015 14:14
Show Gist options
  • Save ochinchina/5e934e019bc778ed6e8c to your computer and use it in GitHub Desktop.
Save ochinchina/5e934e019bc778ed6e8c to your computer and use it in GitHub Desktop.
pull docker image behind firewall in ubuntu
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