Last active
January 3, 2017 18:36
-
-
Save ryansch/388ce4ffdbdbe906c92dd339aa810ba9 to your computer and use it in GitHub Desktop.
openvpn sample build container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM docker:latest | |
RUN apk add --no-cache bash sudo iptables openvpn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd test | |
docker build -t openvpn-test . | |
cd .. | |
docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):$(pwd) -w $(pwd) --privileged openvpn-test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment