Docker http Proxy – RHEL
vim /etc/systemd/system/docker.service.d/http-proxy.conf
-------
[Service]
Environment="HTTP_PROXY=http://proxy.hostname:80/"
Environment="HTTPS_PROXY=http://proxy.hostname:80/"
Environment="NO_PROXY="localhost,127.0.0.1,::1"
------
systemctl daemon-reload
systemctl restart docker
systemctl status docker
* Remember to check our Docker Cheat Sheet