HI,
I have several dockers on my OMV setup and it's quite boring to do that for each container:
- Go to Services > Compose > Containers and select the container you want to update.
- Press the Pull button. This will download the latest available image from that container.
- Now go to Services > Compose > Files and select the file where that container is defined.
- Click Up. The containers defined in the yaml file will start with the latest available image downloaded. Your container is already updated.
- Press Prune and then press Image. Old images will be deleted.
There is Watchtower but it seems it is a security problem (access to /var/run/docker.sock ) so I'm not sure it's a good idea to install it.
The update mecanism in compose plugin only downloads new images without automatically restarting them and pruning old ones, could you add 2 new tick box in this window after the 'backup' and 'update' ones ?
One named "restart containers after update" to automatically up containers after pull
One named "prune old images" to automatically delete old images.
If something bad happens you can restore old images from backup.
Thank you