Docker Container for Pi-Hole

I want to learn more about Docker and whats a better way to try something new in “production” (my home).

I used this guide and so far no issues. I like using Docker Compose for the portability and I can backup and test different settings without having to memorize Docker commands.

One change I would make, till I can find a way to automate it, is to run the command below after you “docker-compose up -d” so you can set the Pi-Hole website admin password to something that you know.

$ docker exec pihole pihole -a -p supersecurepassword

Current stats

It actually works.