Watchtower Docker
Automate container
Watchtower automatically updates your running Docker containers whenever a new image is pushed. Zero downtime, zero hassle.
$ docker run -d \ --name watchtower \ -v /var/run/docker.sock:/var/run/docker.sock \ container/watchtower
10M+
Docker Pulls
5K+
GitHub Stars
99.9%
Uptime
10M+
Docker Pulls
Everything You Need for
Container Management
Powerful features designed to keep your Docker infrastructure secure, updated, and running efficiently.
Automatic Updates
Watchtower monitors your containers and automatically pulls new images when available, keeping your stack up-to-date.
Learn more ➡️
Graceful Shutdowns
Sends SIGTERM signals to containers before updating, ensuring graceful shutdown and data integrity.
.
Learn more ➡️
Zero Downtime
Intelligent restart policies minimize downtime during updates, keeping your services running smoothly.
.
Learn more ➡️
Scheduled Updates
Configure update schedules with cron expressions to update containers during low-traffic periods.
.
Learn more ➡️
Link Awareness
Understands container dependencies and updates them in the correct order to prevent service disruptions.
.
Learn more ➡️
Private Registries
Full support for private Docker registries with secure credential management.
.
Learn more ➡️
Simple, Automated
Container Updates
Monitor 01
Watchtower continuously polls Docker registries for new versions of your container images.
Pull 02
When a new image is detected, Watchtower automatically pulls the latest version.
Restart 03
Gracefully stops the old container and starts a new one with the exact same configuration.
Cleanup 04
Optionally removes old images to free up disk space and keep your system clean.
Configuration
Deploy in Seconds
- Mount the Docker socket for container access
- Configure cleanup to remove old images
- Set custom polling intervals or schedules
- Support for private registries with auth
docker run -d \
--name watchtower \
-v /var/run/docker.sock:/var/run/docker.sock \
containrrr/watchtower
version: '3'
services:
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --cleanup=true
restart: always
docker run -d \
--name watchtower \
-v /var/run/docker.sock:/var/run/docker.sock \
containrrr/watchtower \
--schedule "0 0 4 * * *"
Frequently Asked Questions
Everything you need to know about Watchtower and Docker container updates.
How does Watchtower detect new images?
Watchtower periodically polls the Docker registry for each container’s image. By default, it checks every 24 hours, but you can configure this interval using the –interval flag or set a cron schedule.