Two Nodes in Docker and auto update

Hi All,

I have a Ubuntu host running docker and have 4 nodes running on the docker. 1 of the hosts auto updates however, The other 3 do not

I have used this command from the storj setup docs on line to update the first node

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

however, as i am not an expert have used these for the 3 others

docker run -d --restart=always --name watchtower2 -v /var/run/docker.sock:/var/run/docker.sock storjlabs/watchtower storagenode2 watchtower --stop-timeout 300s --interval 21600
docker run -d --restart=always --name watchtower3 -v /var/run/docker.sock:/var/run/docker.sock storjlabs/watchtower storagenode3 watchtower --stop-timeout 300s --interval 21600
docker run -d --restart=always --name watchtower4 -v /var/run/docker.sock:/var/run/docker.sock storjlabs/watchtower storagenode4 watchtower --stop-timeout 300s --interval 21600

would anyone know how what the correct script to use to get the auto update function working…

my node config is as follows: (This is for Node 2)

sudo docker run -d --restart unless-stopped --stop-timeout 300
-p 28970:28967
-p 14003:14002
-e WALLET=“0x138B29C26b84aCBf1529F0906E34757d8B1552c9”
-e EMAIL=“@gmail.com"
-e ADDRESS="
*.duckdns.org:28970”
-e STORAGE=“1.7TB”
–mount type=bind,source="/Drive2/identity/",destination=/app/identity
–mount type=bind,source="/Drive2/data/",destination=/app/config
–name storagenode2 storjlabs/storagenode:beta

and the auto update script that i would use for this node is:

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

Thanks
Simon

4 posts were merged into an existing topic: Multi node watchtower update setup