690 shaares
3 liens privés
3 liens privés
Docker behind proxy :
$ mkdir /etc/systemd/system/docker.service.d/
$ cat >/etc/systemd/system/docker.service.d/proxy.conf << EOF
[Service]
Environment=HTTP_PROXY=http://myproxy:3128/
EOF
$ systemctl daemon-reload
$ systemctl restart docker.service