Trying to use a container behind a proxy and having difficulty configuring the bypass for local servers. Is this possible using environment variables with Docker Run
The proxy settings are currently being transferred to the container during docker run as environment variables as shown below.
docker container run
-e HTTP_PROXY=http://proxy2.domain.com:port
-e HTTPS_PROXY=http://proxy2.domain.com:port
myimage
Is it possible to create a NO_PROXY environment variable and pass the bypass information to the container in the same fashion?
docker container run
-e HTTP_PROXY=http://proxy2.domain.com:port
-e HTTPS_PROXY=http://proxy2.domain.com:port
-e NO_PROXY=localhost, .domain.com
myimage
Thanks for any help you can give!