detailed readme

This commit is contained in:
diginc
2016-02-13 18:33:01 -06:00
parent 551d7e3744
commit 6c36d8ba93

View File

@@ -18,7 +18,7 @@ The minimum options required to run are:
`docker run -p 53:53/tcp -p 53:53/udp -p 8053:80 --cap-add=NET_ADMIN -d diginc/pi-hole`
dnsmasq requires NET_ADMIN capabilities to run correctly in docker. I'm arbitrarily choosing port 8053 for the web interface.
Here are some useful volume mounts options to persist your history of stats in the admin interface, or add custom whitelists/blacklists. *Create these files on the docker host first or you'll get errors*:
Here are some useful volume mounts options to persist your history of stats in the admin interface, or add custom whitelists/blacklists. **Create these files on the docker host first or you'll get errors**:
* `docker run -v /var/log/pihole.log:/var/log/pihole.log ...` (plus all of the minimum options added)
* `docker run -v /etc/pihole/blacklist.txt:/etc/pihole/blacklist.txt ...` (plus all of the minimum options added)