Install Watchtower
 
Notifications
Clear all

Install Watchtower

1 Posts
1 Users
0 Reactions
33 Views
Frank Schroeder
(@iseetwizard)
Estimable Member Admin
Joined: 5 years ago
Posts: 64
Topic starter  

Attention: The video is still in german

 

 

docker run -d --name=watchtower \
-v /volume1/docker/docker.sock:/var/run/docker.sock \
--restart=always \
containrrr/watchtower --cleanup --include-stopped --include-restarting --interval 21600

 

Watchtower updates your containers automatically without asking. For some, this is very useful, but for others who have to work with a container all the time, less so.

That's why there is also an option to always run Watchtower manually instead of automatically. You can find all of these options in the documentation.

Here is an example of a manual update of Calibre:

 

docker run --rm \
-v /volume1/docker/docker.sock:/var/run/docker.sock \
containrrr/watchtower \
--run-once calibre

 

docker run --rm creates the Watchtower container, runs it and when it is finished, it is automatically deleted.

Create symbolic link for docker.sock

 

ln -s /var/run/docker.sock /volume1/docker/docker.sock

 

I am creating this symbolic link because I was having problems with some containers accessing docker.sock. When I linked them like this, those containers no longer had any problems and ran perfectly.

 

Used Links

Watchtower Documentation

 

 


   
Quote