centos與Ubuntu下通用docker
vi /etc/sysconfig/dockercentos
在文件左後加上:spa
HTTP_PROXY=http://172.XX.XX.XX:8080orm
HTTPS_PROXY=http://172.XX.XX.XX:8080it
FTP_PROXY=ftp://172.XX.XX.XX:8080ftp
Fedora下 service
修改 / usr / lib / systemd / system / docker . service 文件,margin
在service段設置Environment值: top
[Service]文件
Environment = http_proxy = http : / / 192.241.209.203 : 8384 /