Watch and update docker containers.
100K+
Watch and automatically update docker containers.
Built on top of docker-cli and moby/moby, which enables it to automatically support
private registries and the like.
latest - Latest stable version of watchtower. unstable - Latest untested version of watchtower.
Running via docker:
$ docker run \
-d \
--restart=on-failure \
--name watchtower \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
karimsa/watchtower
Running without docker: not supported yet
In a single update cycle, watchtower does the following:
As a result, your containers will always be up-to-date with the latest copy of the image.
By default when you run watchtower as a CLI or a container, it will run the update cycle exactly once. To keep it running, you need to specify an update interval for how frequently watchtower should check for container updates.
To see the full list of options, simply run watchtower with the --help flag.
In these examples, we assume the alias: alias watchtower="docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock:ro karimsa/watchtower watchtower"
watchtower --image 'jpillora/dnsmasq'watchtower --image jpillora/dnsmasq --interval 60Licensed under MIT license.
Copyright © 2020-present Karim Alibhai.
Content type
Image
Digest
Size
27.8 MB
Last updated
about 6 years ago
docker pull karimsa/watchtower