Docker WatchTower Create Container Command
The snippet can be accessed without any authentication.
Authored by
Rob Hunter
Docker WatchTower Create Container Command
docker run -d --name watchtower -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --cleanup --schedule 0 0 0 * * *
create new container --named watchtower from image container/watchtower
with volume attachment external /var/run/docker.sock and internal /var/run/docker.sock
--cleanup old volumes when updating containers
--schedule every 24 hours at midnight
watchtower 132 B
docker run -d --name watchtower -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --cleanup --schedule 0 0 0 * * *
Please register or sign in to comment