Docker设置代理:docker pull 代理
docker docker代理 docker pull docker proxy
收到3条评论
森森 3 个月前
官方推荐的方式是:
Edit or create the /etc/docker/daemon.json file and add your proxy settings:
```json
{
"proxies": {
"http-proxy": "http://proxy.example.com:3128",
"https-proxy": "https://proxy.example.com:3129",
"no-proxy": "*.test.example.com,.example.org,127.0.0.1"
}
}
```
Edit or create the /etc/docker/daemon.json file and add your proxy settings:
```json
{
"proxies": {
"http-proxy": "http://proxy.example.com:3128",
"https-proxy": "https://proxy.example.com:3129",
"no-proxy": "*.test.example.com,.example.org,127.0.0.1"
}
}
```
回复

myluzh 2 个月前
@森森:也可以
回复
99 1 年前
作者这个很有用
回复