Pihole

SOURCE: https://danielrampelt.com/blog/install-pihole-raspberry-pi-docker-ipv6/

Download and edit TZ, ServerIP and ServerIPv6 (optional).

wget https://github.com/pi-hole/docker-pi-hole/raw/master/docker_run.sh
nano docker_run.sh

Install

chmod +x docker_run.sh

./docker_run.sh

Testing

dig @127.0.0.1 google.com

Change password

docker exec -it [container-id] bash
sudo pihole -a -p

ERROR 53 Already in use

sudo systemctl disable systemd-resolved.service
sudo systemctl stop systemd-resolved

not tested: https://discourse.pi-hole.net/t/setup-on-pi-in-docker-bind-error/19137/4

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store