docker run -d -p 1723:1723 --privileged -v /lib/modules:/lib/modules:ro vanvank/pptpd
After your container is running, you will need to modifiy the login password and dns
docker exec -ti /bin/bash YourContainerName
vi /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
"LoginName" pptpd "Password" *
vi /etc/ppp/options.pptpd
ms-dns 192.168.5.10 # change this ip address to your dns server's ip
In the container, you can see the logs by tail -f /var/log/messages