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:
Brennan Chapman 2019-01-16 20:51:43 -05:00 committed by GitHub
parent b2aecc497a
commit 17c185b40a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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