r/docker icon
Go to docker
r/docker

Docker is an open-source project to easily create lightweight, portable, self-sufficient containers from any application. The same container that a developer builds and tests on a laptop can run at scale, in production, on VMs, bare metal, OpenStack clusters, public clouds and more.

I've been discovering docker in the past days and I now have several containers running on my Synology NAS via docker compose.

I was wondering how I can keep my containers up to date so that I don't miss security updates but I don't know how to best deal with it.

The first option I found would be to regularly go in each and every folder where my docker-compose files are and do the following but it's too tedious to do it very regularly :

docker compose pull && docker compose up -d

The second option I came across is Watchtower but I read mixed things about it.

How do you handle this? Is there a more elegant solution?

Thanks!