Making a docker container a part of a vpn

I am trying to connect my docker container to a vpn in order to access the machines in that vpn. I wonder how could this be done.

I can connect the host machine (machine on which docker container is hosted) to the vpn using the vpn client provided by the cloud provider.

  • Docker NodeJs for ReactJs
  • How to fill in a Docker mongodb image
  • I need to run my node app using this Docker file
  • Centralised configuration of docker-compose services
  • How to reduce my java/gradle docker image size?
  • How to make `docker run` inherit ulimits
  • The same vpn client does not work on the docker container. Can someone please help me in finding out the way to get the docker container to become a part of the vpn.

    The vpn server is publicly accessible. I need the docker container to become a part of the VPN just like how the machine hosting the docker container can become a part of the vpn.

    I have multiple docker containers on my host machine and each container should be a part of a separate vpn. Can this be achieved anyway?

  • When run docker-compose up I get python: can't open file '': [Errno 2] No such file or directory
  • Simple Shell Script: Dead Docker Containers
  • Docker Data Volume Container - Can I share across swarm
  • unable execute arm-cc on docker images ( ubuntu 12.04 base )
  • How to launch a Docker container that i've got from another person?
  • How to restrict cpu usage from host to docker container
  • One Solution collect form web for “Making a docker container a part of a vpn”

    Kontena has built-in VPN access, so if you want an easy solution I suggest you to check it out

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.