Do i need to run as many watchtower containers as running nodes?

I set up a second node. Do i need to do something for the new one to be updated automatically ?

1 Like

ok, found i guess :

assuming my 2 nodes container names are ‘storagenode’ and ‘storadenode2’ :

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

6 Likes

Does this work? I’m running a seperate docker watchtower instance for each of my nodes. If i can use one command would be much better.

Yes this works. I have 3 nodes. You just put in containers name like storagenode storagenode2 storagenode3 in watchtower command line.

2 Likes