mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2025-12-24 12:28:56 +00:00
Improve default docker compose file to inclide SYS_TIME and SYS_NICE
Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
@@ -84,6 +84,10 @@ services:
|
||||
# See https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
|
||||
# Required if you are using Pi-hole as your DHCP server, else not needed
|
||||
- NET_ADMIN
|
||||
# Required if you are using Pi-hole as your NTP client to be able to set the host's system time
|
||||
- SYS_TIME
|
||||
# Optional, if Pi-hole should get some more processing time
|
||||
- SYS_NICE
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
@@ -288,7 +292,7 @@ The webserver and DNS service inside the container can be customized if necessar
|
||||
|
||||
## Note on Capabilities
|
||||
|
||||
[FTLDNS](https://docs.pi-hole.net/ftldns/in-depth/#linux-capabilities) expects to have the following capabilities available:
|
||||
Pi-hole's DNS core (FTL) expects to have the following capabilities available:
|
||||
|
||||
- `CAP_NET_BIND_SERVICE`: Allows FTLDNS binding to TCP/UDP sockets below 1024 (specifically DNS service on port 53)
|
||||
- `CAP_NET_RAW`: use raw and packet sockets (needed for handling DHCPv6 requests, and verifying that an IP is not in use before leasing it)
|
||||
|
||||
Reference in New Issue
Block a user