Skip to the content.

🐳 Watchtower

Watchtower automatically updates running Docker containers when a newer image is available. It pulls the new image, stops the existing container, and recreates it with the same deployment options.

⚠️ Maintenance status: The official Watchtower repository was archived on December 17, 2025 and is no longer maintained. Treat it as a legacy option and review current alternatives before using it on an important server.

⭐ Features

🚀 Quick Start

services:
  watchtower:
    image: containrrr/watchtower:1.7.1
    container_name: watchtower
    restart: unless-stopped
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    command: --schedule "0 0 4 * * *"

The example checks for updates daily at 04:00. Start it with:

docker compose up -d

🔐 Security Notes