Docker Community Forums

Share and learn in the Docker community.

How to send ocserv container's output traffic to tor container?

Im running docker on a Ubuntu machine , and im trying to solve a problem .
Im actually running 2 containers :
1- a container running tor
2 - a container running ocserv
the task I want to do is , i want to redirect ocserv output traffic through the tor container .

what solution you suggest for this ?

Let me quote the relevant part form the docs: