Skip to content

Commit 2cdb517

Browse files
committed
fix dnsmasq
1 parent 8d252a5 commit 2cdb517

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

dnsmasq/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ VOLUME /etc/dnsmasq.d
1515

1616
EXPOSE 53/tcp 53/udp 67/udp
1717

18-
ENTRYPOINT ["/usr/sbin/dnsmasq", "--user=dnsmasq", "--group=dnsmasq"]
18+
ENTRYPOINT ["/usr/sbin/dnsmasq", "--no-daemon", "--user=dnsmasq", "--group=dnsmasq"]

dnsmasq/docker-compose.yml

+2
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ dnsmasq:
66
- "67:67/udp"
77
volumes:
88
- ./dnsmasq.d:/etc/dnsmasq.d
9+
cap_add:
10+
- NET_ADMIN
911
restart: always

0 commit comments

Comments
 (0)