Automated Docker container updater that monitors and updates running containers.
- Automatically updates Docker containers to the latest images
- Cleans up old images after updates
- Label-based filtering for selective updates
- Configurable update intervals
docker compose up -dThe container runs with the following options:
--interval 300- Check for updates every 5 minutes (300 seconds)--label-enable- Only update containers with the enable label--cleanup- Remove old images after updating
Add this label to containers you want auto-updated:
labels:
- 'com.centurylinklabs.watchtower.enable=true'| Host Path | Container Path | Description |
|---|---|---|
/var/run/docker.sock |
/var/run/docker.sock |
Docker socket for container management |
/root/.docker/config.json |
/config.json |
Registry authentication (optional) |