Pihole Docker Upgrade Pipeline
I’ve been running pihole for a minute now, and I think I’ve devised a process for upgrading that’s short, sweet, and to the point. It provides quick upgrades and might even be something possibly automated.
So here goes.
First thing you need is to make a folder somewhere on the system that your compose
file and config files will live in. Throw it anywhere, it’s your system with your security practices, I don’t really give a damn. That’s my warning for “do at your own risk, you assume all liability”. Once you have your compose file, start your container with:
docker compose up -d
Now, eventually your pihole instance will tell you an upgrade is available. When that happens, and it will happen, follow these instructions.
docker rm -f pihole
docker image rm pihole/pihole
docker compose up -d
That’s it. Bam, your shit is upgraded. Three commands, no muss, no fuss, and no reconfiguration or any pains in your ass. Works every time.
FINALLY, A WORTHY TECH WRITEUP. Maybe a little simple, but listen- small victories, okay? Jerk.