setup Docker proxy

 

 

 

$ mkdir /etc/systemd/system/docker.service.d/

$ cat >/etc/systemd/system/docker.service.d/proxy.conf << EOF

[Service]

Environment=HTTP_PROXY=http://myproxy:3128/

EOF

$ systemctl daemon-reload

$ systemctl restart docker.service

 

 

posted @ 2014-11-06 16:13  oyaimj  阅读(402)  评论(0编辑  收藏  举报