Skip to content

Instantly share code, notes, and snippets.

@ryansch
Last active January 3, 2017 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryansch/388ce4ffdbdbe906c92dd339aa810ba9 to your computer and use it in GitHub Desktop.
Save ryansch/388ce4ffdbdbe906c92dd339aa810ba9 to your computer and use it in GitHub Desktop.
openvpn sample build container
FROM docker:latest
RUN apk add --no-cache bash sudo iptables openvpn
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