Created
August 19, 2014 02:49
-
-
Save hisamekms/901ee78c4eb6200962bc to your computer and use it in GitHub Desktop.
IntraにDocker Registryを立てたときはNO_PROXYも忘れずに ref: http://qiita.com/hisamekms/items/fc47d0ccf2c69268ae71
This file contains 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
... | |
[Service] | |
... | |
Environment="HTTP_PROXY=YOUR.PROXY.HOST:PORT" | |
Environment="NO_PROXY=NO.PROXY.HOST1,NO.PROXY.HOST2" | |
ExecStart=/usr/bin/docker -d -s=btrfs -r=false -H fd:// | |
... |
This file contains 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
# /etc/systemd/system/docker.service | |
... | |
[Service] | |
... | |
Environment="HTTP_PROXY=YOUR.PROXY.HOST:PORT" | |
Environment="NO_PROXY=NO.PROXY.HOST1,NO.PROXY.HOST2" | |
ExecStart=/usr/bin/docker -d -s=btrfs -r=false -H fd:// | |
... |
This file contains 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
# /etc/sysconfig/docker | |
other_args="--exec-driver=lxc --selinux-enabled" | |
export HTTP_PROXY=YOUR.PROXY.HOST:PORT | |
export NO_PROXY=NO.PROXY.HOST1,NO.PROXY.HOST2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment