Page 1 of 1

Upgrade Docker Container when using remote-image LATEST

Posted: Wed Sep 28, 2022 11:13 pm
by VolleyTom
Hello,
Has someone an idea, how I can upgrade e.g. my Pi-Hole-Container running on Mikrotik 7.5?
I'm using as Remote-Image = pihole/pihole:latest and when I open the WebInterface I can see that there is an Update available:
Docker Tag 2022.08.1 Pi-hole v5.11.4 · Update available! FTL v5.16.3 · Update available! Web Interface v5.13 · Update available!
Is there a way, without removing an adding the container again?
br
Tom

Re: Upgrade Docker Container when using remote-image LATEST

Posted: Thu Sep 29, 2022 4:34 pm
by semaja2
Recreating the container is the correct approach for Docker, in theory due to the way MikroTik implemented their containers you could potentially do the upgrade in the container you have

However the correct approach is to make sure you setup persisting volumes for any data that needs to be persistent, then just delete the container and recreate with the same settings (eg. same env list/mount points etc)

https://github.com/pi-hole/docker-pi-ho ... omizations