This images builds the latest VPNC from source, all linux distributions don't ship any current versions.
containers:
- name: vpn
image: envcli/vpnc:latest
securityContext:
capabilities:
add:
- NET_ADMIN
docker run -it --rm --cap-add=NET_ADMIN --env VPNC_GATEWAY="yourBox.myfritz.net" --env VPNC_ID="userName" --env VPNC_SECRET="sharedSecret" --env VPNC_USERNAME="userName" --env VPNC_PASSWORD="userPassword" envcli/vpnc:latest vpnc --debug 2 --no-detach