Add --cap-add=NET_ADMIN for pihole

This commit is contained in:
Jacob Hinkle 2022-10-13 08:43:03 -04:00
parent beff889a18
commit c4b9a4ee6b

View File

@ -21,6 +21,7 @@ serverIP :
"/run/secrets/pihole:/run/secrets/pihole" "/run/secrets/pihole:/run/secrets/pihole"
]; ];
extraOptions = [ extraOptions = [
"--cap-add=NET_ADMIN"
"--no-hosts" # do not populate internal /etc/hosts with container host's "--no-hosts" # do not populate internal /etc/hosts with container host's
]; ];
} }