A small program doing the job !
And the github repo here
Salut,

Ce blog est un bloc-note de choses et d’autres techniques 🙂
Create directory if it doesn’t exist :
mkdir /etc/systemd/system/docker.service.d/Create file :
echo '[Service] Environment="HTTP_PROXY=http://<proxy-host>:<proxy-port>" ' > /etc/systemd/system/docker.service.d/http-proxy.conf echo '[Service] Environment="HTTPS_PROXY=https://<proxy-host>:<proxy-port>" ' > /etc/systemd/system/docker.service.d/https-proxy.confReload systemctl & docker daemon :
systemctl daemon-reload systemctl restart docker
…le 1 June 2018 à 12h46
Leave a Reply