Docker Community Forums

Share and learn in the Docker community.

Systemd using no_proxy

I’m using /etc/systemd/system/docker.service.d/http-proxy.conf to define my proxies and no_proxy. The no_proxy setting does not seem to be working and all my traffic is being route to the proxy. I have two internal networks I wanted to exclude from going through the proxy. I have tried several different ways to define them, but nothing works. Can something like 172.1.0.0/16, 172.2.0.0/16 be defined in no_proxy for docker?

“NO_PROXY=.icp,localhost,172.1..,172.2..