If the Docker host is placed inside a proxy server, it needs to add the proxy configuration to each Dockerfile such as ENV http_proxy
.
Following allows transparent access from the container to outside without any proxy configuration.
- Set up the transparent proxy
- Apply iptables rule for the transparent proxy