Docker Community Forums

Share and learn in the Docker community.

VPN tunnel for Jdownloader?

I have a Raspberry PI 3 B+ with DietPi and I’m just starting with Docker.

So far I’ve got some containers running successfully, among them are:

I would like to use the VPN connection from the openvpn-client for the Jdownloader container.
I’ve read I can do this with --net container:openvpn-client

If the above is possible with starzes container, I still have some questions:

  • when I start the container, is a VPN connection automatically active with the client.ovpn file in my config folder?
  • what is the command to store username and password in the container (using ProtonVPN)?


  • what is the command to disconnect/go offline if no VPN connection is established?