docker through openvpn code example
Example 1: docker openvpn
openvpn:
image: "kylemanna/openvpn:latest"
container_name: openvpn
ports:
- "1194:1194/udp"
volumes:
- "~/openvpn/data:/etc/openvpn"
cap_add:
- NET_ADMIN
restart: always
Example 2: docker openvpn
docker-compose up -d