The image provides OpenVPN or Wireguard as a VPN client, with OpenVPN having access to multiple providers.
Below is a quick way to get up and running with either OpenVPN or Wireguard. For more details, see the complete documentation.
# OpenVPN client
docker run --cap-add=NET_ADMIN -d --name openvpn_client \
-e OPENVPN_PROVIDER='vyprvpn' \
-e OPENVPN_CONFIG='USA - Austin-256' \
-e OPENVPN_USERNAME='user' \
-e OPENVPN_PASSWORD='password' \
-v /etc/localtime:/etc/localtime:ro \
jsloan117/docker-openvpn-client
# Wireguard client
docker run --cap-add=NET_ADMIN -d --name wg_client \
-e "VPN_CLIENT=wireguard" \
--sysctl net.ipv4.conf.all.src_valid_mark=1 \
-v ~/wg0.conf:/etc/wireguard/wg0.conf \
-v /etc/localtime:/etc/localtime:ro \
jsloan117/docker-openvpn-client
Thank you Haugene and all contributors for making a great image.
I initially based the image on docker-transmission-openvpn. Their documentation may benefit you depending on your environment.