Community discussions

MikroTik App
 
VolleyTom
just joined
Topic Author
Posts: 17
Joined: Fri Mar 27, 2020 7:06 pm

Upgrade Docker Container when using remote-image LATEST

Wed Sep 28, 2022 11:13 pm

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
 
semaja2
newbie
Posts: 39
Joined: Wed Sep 08, 2021 3:50 pm

Re: Upgrade Docker Container when using remote-image LATEST

Thu Sep 29, 2022 4:34 pm

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

Who is online

Users browsing this forum: No registered users and 3 guests