fix dnsmasq

This commit is contained in:
kev 2016-04-14 02:00:10 +08:00
parent 8d252a59a1
commit 2cdb51748b
2 changed files with 3 additions and 1 deletions

View File

@ -15,4 +15,4 @@ VOLUME /etc/dnsmasq.d
EXPOSE 53/tcp 53/udp 67/udp
ENTRYPOINT ["/usr/sbin/dnsmasq", "--user=dnsmasq", "--group=dnsmasq"]
ENTRYPOINT ["/usr/sbin/dnsmasq", "--no-daemon", "--user=dnsmasq", "--group=dnsmasq"]

View File

@ -6,4 +6,6 @@ dnsmasq:
- "67:67/udp"
volumes:
- ./dnsmasq.d:/etc/dnsmasq.d
cap_add:
- NET_ADMIN
restart: always