Update pihole running in a Docker container

Update pihole running in a Docker container

The Pihole web interface tells you to run pihole -up to get the latest version. But if you are running pihole as a docker container we need to do it a little bit different.

To update pihole; Open a terminal and do the following:

Stop the container:

docker stop pihole

Pull the latest Pihole

docker pull pihole/pihole

Remove your existing pihole container

docker rm -f pihole

Start container

#Depending on how you set it up you might run
./docker-run.sh

#or

docker run pihole/pihole

After updating this the custom blacklist was still intact.