Update with 4.1.1+ requirement for cap_add
Uncommented cap_add as required in 4.1.1+ to start DNS service, not just for DHCP.
This commit is contained in:
parent
b2aecc497a
commit
17c185b40a
|
@ -10,9 +10,9 @@ services:
|
|||
- "53:53/udp"
|
||||
- "80:80/tcp"
|
||||
- "443:443/tcp"
|
||||
# The 3 lines below are required if Pi-hole is to provide DHCP
|
||||
# cap_add:
|
||||
# - NET_ADMIN
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
# required if Pi-hole is to provide DHCP
|
||||
# network_mode: "host"
|
||||
environment:
|
||||
# enter your docker host IP here
|
||||
|
|
Loading…
Reference in New Issue