Watchtower 0.3.8-patch1

If you are running a docker storage node please make sure you are running our latest watchtower version.

root@kali:~/storj# docker images
REPOSITORY              TAG                  IMAGE ID            CREATED             SIZE
storjlabs/watchtower    latest               6af6621e20c1        3 months ago        14.3MB

^ The repository is important.

root@kali:~/storj# docker ps -a
CONTAINER ID        IMAGE                  COMMAND                  CREATED             STATUS              PORTS               NAMES
de7b8c6c33b5        storjlabs/watchtower   "/watchtower storage…"   16 seconds ago      Up 13 seconds                           watchtower

The new version will ignore the --interval flag and update in a random interval between 12 and 72 hours. We want to have a slow update process in order to identify possible issues early and stop the rollout if needed.

4 Likes

Watchtower just updated itself but didn’t clean up its old container…

I dont know why watchtower is still being recommended by storj team. It is not reliable or a good way to do slow rolling release. I have been using simple bash script for a year now since watchtower failed me first time. Have not had any issue while everyone is suffering from watchtower. Dont think there is a benefit in trying to make flawed approach work

Ive never had any issues with watchtower not updating my storagenode.

5 Likes

+1 i have never had any issue with watchtower
My old watchtower container 84803293c0e3 was not removed after launching of 6af6621e20c1

Searching forum for watchtower issues shows how many problems it was having. Consider yourself lucky

docker container prune
docker image prune

I think its mostly user error more then anything.

2 Likes

How can I update watchtower?

If you have watchtower already set up it should auto install it. But if not you will need to stop it rm container and pull a new image again. Then start the new watchtower.

2 Likes

my list of images is totally inflated… Should I delete these?
storj@raspberrypi:~ $ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
storjlabs/storagenode beta 07d3705be30e 5 days ago 24.2MB
storjlabs/storagenode 6853e774b127 2 weeks ago 24.8MB
storjlabs/storagenode 9b1973c3147f 2 weeks ago 24.8MB
storjlabs/storagenode 6d7a3cb013ba 4 weeks ago 24.7MB
storjlabs/storagenode 5a015f507109 5 weeks ago 24.3MB
storjlabs/storagenode fae06a84e7ba 7 weeks ago 23.3MB
storjlabs/storagenode 265e696b18b9 2 months ago 23.2MB
storjlabs/storagenode 028b6f8a7253 2 months ago 23.2MB
storjlabs/storagenode 6b8542c78084 3 months ago 23MB
storjlabs/storagenode 5720335ea79b 3 months ago 23MB
storjlabs/storagenode 58b5d9dff814 3 months ago 22.9MB
storjlabs/storagenode 177cb6979839 4 months ago 22.4MB
storjlabs/storagenode 6cbb207adaba 4 months ago 22.4MB
storjlabs/storagenode 53de16e5bba4 4 months ago 22.4MB
storjlabs/storagenode arm 0f08381929f5 4 months ago 22.4MB
storjlabs/storagenode fa9271e5f8bc 4 months ago 23.6MB
storjlabs/watchtower 1a50696a5aae 4 months ago 12.8MB
storjlabs/storagenode cd633a92e6e1 4 months ago 30.7MB
storjlabs/storagenode 73a7ab34455b 4 months ago 30.7MB
storjlabs/storagenode 18813ad4e088 5 months ago 30.7MB
storjlabs/watchtower latest 66a01cc8b87f 7 months ago 12.8MB

Try this command to remove all unused containers.

docker system prune

I now seem to have 2 watchtower images. Ive tried the “docker system prune” etc… any ideas?

thank you! that cut it down…
i now only have one watchtower but still have two SN

REPOSITORY TAG IMAGE ID CREATED SIZE
storjlabs/storagenode beta 07d3705be30e 5 days ago 24.2MB
storjlabs/storagenode arm 0f08381929f5 4 months ago 22.4MB
storjlabs/watchtower latest 66a01cc8b87f 7 months ago 12.8MB

docker stop container ID
docker rm container ID

assuming i stop the arm one?
what is the recommended tag for SN on a RPi 4?

if you make docker images then you see, like on picture above all containers.
then can stop and remove not by name but by ID, it like 97f4… on picture

WTF my looks like
pi@raspberrypi:~ $ sudo docker images

REPOSITORY TAG IMAGE ID CREATED SIZE
storjlabs/storagenode beta 07d3705be30e 5 days ago 24.2MB
storjlabs/storagenode 6853e774b127 2 weeks ago 24.8MB
storjlabs/storagenode 9b1973c3147f 2 weeks ago 24.8MB
storjlabs/storagenode 6d7a3cb013ba 4 weeks ago 24.7MB
storjlabs/storagenode 5a015f507109 5 weeks ago 24.3MB
storjlabs/storagenode fae06a84e7ba 7 weeks ago 23.3MB
storjlabs/storagenode 265e696b18b9 2 months ago 23.2MB
storjlabs/storagenode 028b6f8a7253 2 months ago 23.2MB
storjlabs/storagenode 6b8542c78084 3 months ago 23MB
storjlabs/storagenode 5720335ea79b 3 months ago 23MB
storjlabs/watchtower latest 66a01cc8b87f 7 months ago 12.8MB
pi@raspberrypi:~ $

docker ps -a

shows containers currently in use. You can delete the unused ones or use -a (all) flag for prune

docker system prune -a

2 Likes

Ahhh the prune -a took care of the rest of them. Thanks man!

1 Like