Skip to content

Commit

Permalink
Merge pull request #1232 from davidgatti/patch-1
Browse files Browse the repository at this point in the history
Working docker compose command.
  • Loading branch information
PromoFaux authored Nov 8, 2022
2 parents dc4071f + 7f8862d commit 1f69a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 -d` 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).
Expand Down

0 comments on commit 1f69a1a

Please sign in to comment.