Example vpn container:
docker run --name foo --cap-add=NET_ADMIN ...
docker run --net=container:foo ...
[1] i.e. https://github.com/bubuntux/nordvpn/blob/master/start_vpn.sh...
Example vpn container:
Other container: Now you'd need to specify the respective routing rules [1] in the container.[1] i.e. https://github.com/bubuntux/nordvpn/blob/master/start_vpn.sh...