mkdir -p /etc/systemd/system/docker.service.d
/etc/systemd/system/docker.service.d/http-proxy.conf
[Service]
Environment="HTTP_PROXY=http://10.12.1.76:3128"
Environment="HTTPS_PROXY=http://10.12.1.76:3128"
Environment="NO_PROXY=localhost,127.0.0.1,.uclv.cu,.uclv.edu.cu"
systemctl daemon-reload
systemctl restart docker
Tomado desde:
https://docs.docker.com/config/daemon/systemd/