docker设置代理 作者: juoliii 时间: 2024-08-14 分类: 开发 vim /etc/systemd/system/docker.service.d/proxy.conf ```bash [Service] Environment="HTTP_PROXY=http://127.0.0.1:7890" Environment="HTTPS_PROXY=http://127.0.0.1:7890" ``` ``` sudo systemctl daemon-reload && sudo systemctl restart docker systemctl show --property=Environment docker ``` 标签: none
评论已关闭