如何在docker pull时,配置使用代理服务?
-registry.somecorporation.com" ``` 重新加载配置,并验证变量是否生效: ``` $ sudo systemctl daemon-reload $ sudo systemctl show --property Environment docker Environment=HTTP_PROXY=http://proxy.example.com:80/ Environment=HTTPS_PROXY=http://proxy.example.com:80/ ``` 最后重启一下docker, `sudo systemctl restart docker`...阅读全文