Skip to content

Commit fb590f0

Browse files
authored
Merge pull request #1702 from pi-hole/master
Sync master back into development
2 parents 58fcd1f + 49215d7 commit fb590f0

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
> [!CAUTION]
2727
>
28-
> ## !!! THIS VERSION CONTAINS BREAKING CHANGES
28+
> ## !!! THE LATEST VERSION CONTAINS BREAKING CHANGES
2929
>
3030
> **Pi-hole v6 has been entirely redesigned from the ground up and contains many breaking changes.**
3131
>
@@ -34,6 +34,8 @@
3434
> If you are using volumes to persist your configuration, be careful.<br>Replacing any `v5` image *(`2024.07.0` and earlier)* with a `v6` image will result in updated configuration files. **These changes are irreversible**.
3535
>
3636
> Please read the README carefully before proceeding.
37+
>
38+
> https://docs.pi-hole.net/docker/
3739
3840
---
3941

@@ -76,12 +78,16 @@ services:
7678
volumes:
7779
# For persisting Pi-hole's databases and common configuration file
7880
- './etc-pihole:/etc/pihole'
79-
# Uncomment the below if you have custom dnsmasq config files that you want to persist. Not needed for most starting fresh with Pi-hole v6. If you're upgrading from v5 you and have used this directory before, you should keep it enabled for the first v6 container start to allow for a complete migration. It can be removed afterwards
81+
# Uncomment the below if you have custom dnsmasq config files that you want to persist. Not needed for most starting fresh with Pi-hole v6. If you're upgrading from v5 you and have used this directory before, you should keep it enabled for the first v6 container start to allow for a complete migration. It can be removed afterwards. Needs environment variable FTLCONF_misc_etc_dnsmasq_d: 'true'
8082
#- './etc-dnsmasq.d:/etc/dnsmasq.d'
8183
cap_add:
8284
# See https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
8385
# Required if you are using Pi-hole as your DHCP server, else not needed
8486
- NET_ADMIN
87+
# Required if you are using Pi-hole as your NTP client to be able to set the host's system time
88+
- SYS_TIME
89+
# Optional, if Pi-hole should get some more processing time
90+
- SYS_NICE
8591
restart: unless-stopped
8692
```
8793
@@ -140,6 +146,7 @@ To explicitly set no password, set `FTLCONF_webserver_api_password: ''`.
140146
| `FTL_CMD` | `no-daemon` | `no-daemon -- <dnsmasq option>` | Customize dnsmasq startup options. e.g. `no-daemon -- --dns-forward-max 300` to increase max. number of concurrent dns queries on high load setups. |
141147
| `DNSMASQ_USER` | unset | `<pihole\|root>` | Allows changing the user that FTLDNS runs as. Default: `pihole`, some systems such as Synology NAS may require you to change this to `root`.<br><br>(See [#963](https://github.com/pi-hole/docker-pi-hole/issues/963)) |
142148
| `ADDITIONAL_PACKAGES`| unset | Space separated list of APKs | HERE BE DRAGONS. Mostly for development purposes, this just makes it easier for those of us that always like to have whatever additional tools we need inside the container for debugging. |
149+
| `FTLCONF_misc_etc_dnsmasq_d`| false | `true\|false` | Load custom user configuration files from `/etc/dnsmasq.d/` |
143150

144151
Here is a rundown of other arguments for your docker-compose / docker run.
145152

@@ -250,14 +257,15 @@ The preferred method is to clone this repository and build the image locally wit
250257

251258
#### Usage:
252259
```
253-
./build.sh [-l] [-f <ftl_branch>] [-c <core_branch>] [-w <web_branch>] [-t <tag>] [use_cache]
260+
./build.sh [-l] [-f <ftl_branch>] [-c <core_branch>] [-w <web_branch>] [-p <padd_branch>] [-t <tag>] [use_cache]
254261
```
255262
256263
#### Options:
257264
258265
- `-f <branch>` / `--ftlbranch <branch>`: Specify FTL branch (cannot be used in conjunction with `-l`)
259266
- `-c <branch>` / `--corebranch <branch>`: Specify Core branch
260267
- `-w <branch>` / `--webbranch <branch>`: Specify Web branch
268+
- `-p <branch>` / `--paddbranch <branch>`: Specify PADD branch
261269
- `-t <tag>` / `--tag <tag>`: Specify Docker image tag (default: `pihole:local`)
262270
- `-l` / `--local`: Use locally built FTL binary (requires `src/pihole-FTL` file)
263271
- `use_cache`: Enable caching (by default `--no-cache` is used)
@@ -284,7 +292,7 @@ The webserver and DNS service inside the container can be customized if necessar
284292
285293
## Note on Capabilities
286294
287-
[FTLDNS](https://docs.pi-hole.net/ftldns/in-depth/#linux-capabilities) expects to have the following capabilities available:
295+
Pi-hole's DNS core (FTL) expects to have the following capabilities available:
288296
289297
- `CAP_NET_BIND_SERVICE`: Allows FTLDNS binding to TCP/UDP sockets below 1024 (specifically DNS service on port 53)
290298
- `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)

0 commit comments

Comments
 (0)