New node, same IP, Watchtower command question

My first node is full, so I attached another HDD to my rig and setup a new identity, container, etcetc.
It’s running and getting vetted.

My only doubt is: what about the watchtower command? Do I have to simply issue a
docker run -d --restart=always --name watchtower -v /var/run/docker.sock:/var/run/docker.sock storjlabs/watchtower storagenode_2 watchtower --stop-timeout 300s --interval 21600
or is there something else? I’m not too familiar with watchtower and/or docker, so I don’t know if it can have conflicts by running twice on the same machine for the same type of container.

You just add the name of the second node to your watchtower command. One watchtower can update all your storagenodes.

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