I built a small script to automatically update containers in
#Portainer for my locally hosted applications at home.
It's fully using the Portainer API to collect containers with outdated images and updates them (containers need to have a label to be auto updated).
Tested with the Portainer Business Edition (you can get a free license for up to 3 hosts).
It's simple to use: Spin up the container with an API Key, the Portainer URL and an interval and then add labels to the containers that should be auto updated.
I built this since
#watchtower isn't maintaind anymore and things like
#WhatsUpDocker are a config hell and I needed just a simple solution.
It will not check for newer Tags if you are on versioned tags, it will just update containers if the tag itself is updated (e.g. the latest tag), this is what
#WUD is the better option for.
I open sourced it, maybe someone will also find it useful.
https://git.nexific.net/virtualmarc-oss/portainer-autoupdate#docker #container #podman #opensource