Update README.md

This commit is contained in:
diginc 2016-04-13 20:30:28 -07:00
parent 0b106ea4de
commit a7052c89b2
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ If you have no other dockers using port 80 (if you do, read the list below for r
```
IP=$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)
docker run -p 53:53/tcp -p 53:53/udp -p 80:80 --cap-add=NET_ADMIN -e piholeIP="$IP" --name pihole -d dockerhole_alpine
docker run -p 53:53/tcp -p 53:53/udp -p 80:80 --cap-add=NET_ADMIN -e piholeIP="$IP" --name pihole -d diginc/pi-hole
```
* piholeIP environment variable is required or default pi-hole scripts autodetect and give ads the private docker ip address that is not on your network so won't work.