update docs command order?

Hey folks! I was just updating pi-hole successfully (Docker Tag 2026.02.0Core v6.4FTL v6.5Web interface v6.4.1) But the documentationwas a little confusing first:

docker compose down
docker compose pull
docker compose up -d

I was just trying that through the OMV UI. But it kept failing. Since I just turned off my local DNS resolver. How would it perform the pull?? I then just tried it the other way around and pull, down, up just worked! :slight_smile:

Should that be reflected in the docs somehow? Or did I do something wrong. Pardon moi. I’m a linux noob :front_facing_baby_chick:

That would indicate that the machine that's hosting Pi-hole is using only Pi-hole for DNS.
It would be recommended that your Pi-hole host would use a public DNS server, instead of or in addition to Pi-hole, so you can still run Pi-hole's repair scripts as well as OS updates in the event of a Pi-hole failure.

But you have a point that changing the order of those docker commands would be more robust.

I have got multiple DNS Servers pre-configured and the ones I am not using commented out.

So when I need to switch from Pi-Hole to a Public DNS Server it’s just a quick edit and restart of the Networking Service you are using for your Linux distro :slight_smile:

Try docker compose up --pull always --detach to pull the image. You can make sure the container is recreated with docker compose up --pull always --force-recreate --detach as well.

I think we should reverse the first two lines as well, pulling a new image doesn't require the existing container be stopped.

docker compose pull
docker compose down
docker compose up -d