Docker Community Forums

Share and learn in the Docker community.

Redirecting web traffic from a container

Greetings,

i’m trying to redirect all the outbound http/https traffic from a docker container to somewhere other than where the services in the container are configured. I don’t want to change the configuration of the services in that container to accomplish this. I’m hoping someone here can point me in the correct direction, I’ve tried a couple of things (various forms of HTTP_PROXY mostly) but not found anything that does what I need.

any help would be appreciated.