Use Docker With PROXY
علی ذوالفقار
1403/11/21 11:16:09 (12)
1 ) create this folder :
/etc/systemd/system/docker.service.d
2 ) create this file :
touch http-proxy.conf
3 ) put this code in http-proxy.conf file :
[Service]
Environment=HTTPS_PROXY=192.168.50.30:8080
4 ) reload daemon :
systemctl daemon-reload
5 ) reload docker service
systemctl restart docker
6 ) check config
systemctl show docker --property Environment
7 ) use docker normally