Do I need a watchtower-container for every node-container?

Question is in title… I’ve just figured out how to install a watchtower container via CLI. Now I’m questioning myself if I need one for every container… anybody?^^

<…>
storjlabs/watchtower storagenode watchtower <-this
<…>

in the watchtower command, you enter the names of the containers to keep updated

https://documentation.storj.io/setup/cli/software-updates

1 Like

No you can use a single Watchtower for multiple containers
I run 2 nodes “storagenode” and “storagenode2”

Here’s my watchtower arguments :

docker run -d --restart=always --name watchtower -v /var/run/docker.sock:/var/run/docker.sock storjlabs/watchtower storagenode storagenode2 watchtower --stop-timeout 300s
4 Likes

Thanks a lot! Perfect answer!

1 Like