Community discussions

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

Upgrade Docker Container when using remote-image LATEST

Wed Sep 28, 2022 11:13 pm

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?
Posts: 29
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) ... omizations

Who is online

Users browsing this forum: No registered users and 1 guest