Allow the container to touch DNS (#300)

This commit is contained in:
Maartje Eyskens
2017-12-17 00:57:21 +01:00
committed by Jess Frazelle
parent 9d4ecac24b
commit 1dcfad42ae
3 changed files with 11 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ vpn:
build: .
volumes:
- .:/etc/openvpn
- /etc/resolv.conf:/etc/resolv.conf
net: host
devices:
- /dev/net/tun:/dev/net/tun