From 069a88b7d15b7ad543f623e857e6567fe380813c Mon Sep 17 00:00:00 2001 From: David Gatti Date: Sat, 5 Nov 2022 08:50:04 +0100 Subject: [PATCH] Update README.md Added the working command for Docker 2 Signed-off-by: David Gatti --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e9a6068..8716cf4 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ services: - NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed restart: unless-stopped ``` -2. Run `docker-compose up -d` to build and start pi-hole +2. Run `docker compose -f docker-compose.yml up` to build and start pi-hole 3. Use the Pi-hole web UI to change the DNS settings *Interface listening behavior* to "Listen on all interfaces, permit all origins", if using Docker's default `bridge` network setting. (This can also be achieved by setting the environment variable `DNSMASQ_LISTENING` to `all`) [Here is an equivalent docker run script](https://github.com/pi-hole/docker-pi-hole/blob/master/examples/docker_run.sh).