Two Philosophies: Act vs Notify

The Watchtower vs Diun debate is really a question about how much you trust automation. Watchtower acts: it detects a new image digest, stops the old container, and recreates it — all while you sleep. Diun notifies: it watches the same registries and pings you on Discord, email or Telegram — but never touches a running container. You decide when (and whether) to update.

This is not a question with a single right answer. The correct tool depends on what you're updating, not on which tool is "better." A stateless dashboard that restarts cleanly is a perfect Watchtower candidate; a database that needs migration scripts reviewed before a major-version jump is a Diun candidate. Many operators end up running both — more on that below. If you want the reasoning behind each tool's maintenance story first, our 2026 maintenance overview and Diun setup guide fill in the background.

Head-to-Head Comparison

DimensionWatchtower (nickfedor fork)Diun
Core behaviorRecreates containers automatically when a new image digest appearsSends notifications only — never modifies containers
Risk profileHigher — unattended changes can restart services at 4 AMLower — a human approves every update
Config styleEnvironment variables (WATCHTOWER_*) plus Docker labels on containersSingle YAML config file (diun.yml) with watch rules
Docker socket requiredYes — /var/run/docker.sockYes — to enumerate local containers (also works via API providers)
Update scheduling6-field cron (WATCHTOWER_SCHEDULE, seconds first) or poll intervalCron-based polling of registries in diun.yml
Rollback behaviorNo built-in rollback — after an update, the old container is gone unless you've tagged/pinned images manuallyN/A — nothing is changed, so there's nothing to roll back
Multi-registry supportAny registry Docker itself can pull from (Docker Hub, GHCR, private registries)Broad provider support across registries; explicit auth config per registry
NotificationsShoutrrr URLs — Discord, Telegram, Slack, email, Gotify and more (full guide)Broad notifier support (Discord, Telegram, email, Gotify, MQTT and others)
Learning curveGentle — one container, env vars, optional labels; running in minutesModerate — YAML watch rules and notifier config take more reading; see Diun setup guide
Resource usageVery lightweight — small footprint, mostly idle between scheduled pollsSimilarly lightweight — a small Go binary polling registries on a schedule
Monitor-only modeYes — WATCHTOWER_MONITOR_ONLY=true makes it notify-only, like DiunNotify-only by design — this is the mode
Maintenance (2026)Archived upstream (containrrr); use the maintained nickfedor/watchtower forkActive upstream maintenance by the original author
Best forStateless apps (Plex, Pi-hole, dashboards)Databases, Nextcloud, Home Assistant

When to Choose Watchtower

Choose Watchtower when your apps are stateless — a restart is harmless — and manual updates eat your weekends. The fork is a drop-in replacement, so existing setups migrate with a single image-name change (migration guide). Pair it with notifications so you always know what changed, and gate risky containers with labels:

services:
  watchtower:
    image: nickfedor/watchtower:latest
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - WATCHTOWER_CLEANUP=true
      - WATCHTOWER_LABEL_ENABLE=true   # opt-in per container
      - WATCHTOWER_SCHEDULE=0 0 4 * * *
services:
  plex:
    image: lscr.io/linuxserver/plex:latest
    labels:
      - "com.centurylinklabs.watchtower.enable=true"   # auto-update this one

  postgres:
    image: postgres:16
    labels:
      - "com.centurylinklabs.watchtower.monitor-only=true"   # notify only

The killer feature most people miss: WATCHTOWER_LABEL_ENABLE=true flips Watchtower from opt-out to opt-in. Nothing updates unless you explicitly label it. That single variable converts Watchtower from "auto-update everything" to a controlled allow-list — dramatically safer and still automatic for the containers you bless.

When to Choose Diun

Choose Diun when you run stateful systems where a major-version jump needs your eyes first, or when you simply prefer a weekly "update session" over silent automation:

services:
  diun:
    image: crazymax/diun:latest
    command: serve
    volumes:
      - "./diun-data:/data"
      - "/var/run/docker.sock:/var/run/docker.sock"
    environment:
      - "TZ=UTC"
    restart: unless-stopped

Diun's strength is its watch rules: you can include or exclude images by name pattern, set per-image notification templates, configure per-registry credentials, and watch registries directly — all from one file, without editing the monitored containers themselves. That centralized control is why teams and careful homelabbers prefer it for anything stateful: the weekly update session becomes a ritual — scan the Diun digest, read release notes for the major bumps, back up, then pull and recreate on your own schedule. If you want to ease in gradually, follow our Diun Docker setup guide — it covers the diun.yml basics, notifier wiring, and a sane first watch list.

Use Cases: Homelab, Production-Adjacent, Databases

Homelab (media, dashboards, DNS): This is Watchtower's home turf. Media servers (Plex, Jellyfin), dashboards (Homepage, Uptime Kuma), DNS (Pi-hole, AdGuard) and downloaders are stateless, restart-clean, and update frequently with security fixes you'd want promptly. Auto-update with cleanup and notifications, and never think about it again.

Production-adjacent (reverse proxies, auth, monitoring): Traefik, Caddy, Authelia, Prometheus — services where downtime is annoying but not catastrophic. Either tool works; the deciding factor is your change-control discipline. Watchtower with label-based opt-in gives you automation with a leash. Diun gives you a deliberate update ritual. If you already review changelogs before updating these, Diun fits your workflow.

Databases and stateful apps: Postgres, MariaDB, Redis, Nextcloud, Home Assistant — anything where a major version can demand migration steps. Use Diun (or Watchtower in WATCHTOWER_MONITOR_ONLY=true mode). The pattern: get notified, read the release notes, back up, then update manually on your schedule. Never let an unattended tool jump your database across a major version at 4 AM.

ℹ️
The one-line rule: if a bad update means restoring from backup, notify — don't auto-update. If a bad update means restarting a container, automate. Sort your stack into those two buckets and the tool choice makes itself.

Configuration Side-by-Side

The config styles reveal each tool's philosophy. Watchtower is configured declaratively at the container level: environment variables set global policy, and Docker labels on individual containers override it. Everything lives in your compose file, next to the services it governs:

# Watchtower: policy lives in compose, per-container via labels
services:
  watchtower:
    image: nickfedor/watchtower:latest
    environment:
      - WATCHTOWER_SCHEDULE=0 0 4 * * *
      - WATCHTOWER_CLEANUP=true
      - WATCHTOWER_NOTIFICATION_URL=discord://TOKEN@CHANNEL_ID
  plex:
    labels:
      - "com.centurylinklabs.watchtower.enable=true"      # auto-update
  postgres:
    labels:
      - "com.centurylinklabs.watchtower.monitor-only=true" # notify only

Diun centralizes everything in one diun.yml file: watch rules select which images to monitor (by name pattern, registry, or tag), and notifier blocks define where alerts go. You don't touch the monitored containers at all — Diun discovers them through the Docker socket:

# Diun: central diun.yml with watch rules + notifiers
watch:
  workers: 10
  schedule: "0 */6 * * *"
  firstCheckNotif: false
notif:
  discord:
    webhookURL: https://discord.com/api/webhooks/123456/abcdef
regopts:
  - name: "docker.io"
    selector: image
    username: myuser
    password: mypass

Practical takeaway: Watchtower's approach scales well when your policy is simple ("update everything except the databases") and you manage infrastructure as compose files. Diun's centralized rules shine when you want fine-grained watch patterns — different schedules per image group, include/exclude regexes, per-registry credentials — without editing ten compose files. If you want the full Diun walkthrough, see the Diun Docker setup guide.

The Power Combo: Run Both

Many experienced homelabbers run both tools rather than choosing. The division of labor is clean:

  • Watchtower in full auto mode on stateless apps — with WATCHTOWER_CLEANUP=true and notifications so you always know what changed.
  • Diun watching everything, so databases and stateful services still generate "update available" pings that you handle manually.

They don't conflict — Diun never modifies containers, so there's no race between the two. One practical tip: stagger their schedules so they don't hammer the Docker daemon and your registries at the same minute (for example, Watchtower at 0 0 4 * * * and Diun every six hours offset by fifteen minutes). Resource-wise, both are lightweight Go binaries that idle between polls, so the cost of running both is negligible. The combo gives you automation where it's safe and supervision where it matters, without any per-container label gymnastics on the Diun side.

A minimal combo compose snippet:

services:
  watchtower:
    image: nickfedor/watchtower:latest
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - WATCHTOWER_CLEANUP=true
      - WATCHTOWER_LABEL_ENABLE=true
      - WATCHTOWER_NOTIFICATION_URL=discord://TOKEN@CHANNEL_ID
    restart: unless-stopped
  diun:
    image: crazymax/diun:latest
    command: serve
    volumes:
      - "./diun-data:/data"
      - "/var/run/docker.sock:/var/run/docker.sock"
    restart: unless-stopped

Verdict

There is no universal winner — but there is a universal strategy: automate the boring, supervise the critical.

If you must pick one tool today, pick based on your stack's risk profile. Mostly stateless homelab apps? Watchtower (the maintained fork) with WATCHTOWER_LABEL_ENABLE=true gives you safe, opt-in automation with notifications as your audit trail. Mostly databases and stateful services? Diun gives you the calm of human-approved updates without the fear of a 4 AM surprise.

And remember the middle path the table hides: Watchtower with WATCHTOWER_MONITOR_ONLY=true covers roughly 90% of Diun's use case in a single container — notify on everything, auto-update nothing — and you can flip individual containers to full auto-update via labels when you trust them. The flip side also holds: if you love Diun's rich watch rules but want automation for a few blessed images, the run-both combo (Watchtower with label opt-in plus Diun watching everything) gives you both without compromise. Choose by risk, not by brand loyalty — and when in doubt, start with notifications everywhere and promote containers to auto-update only after you've watched them behave for a month.

If you're still undecided between the wider field of updaters, our 2026 alternatives roundup covers the other options beyond these two.

Frequently Asked Questions

Does Diun update Docker containers?

No. Diun is strictly a notifier — it watches image registries and alerts you when updates exist, but never stops, pulls, or recreates anything. That is its entire design philosophy, and it's what makes Diun and Watchtower complementary rather than redundant.

Is Watchtower dangerous for databases?

Unattended major-version upgrades can break stateful apps that need migration steps. Use monitor-only mode or Diun for databases, Nextcloud, and Home Assistant — and see the troubleshooting guide if you need to exclude containers you previously allowed.

Can Watchtower behave like Diun?

Mostly. Setting WATCHTOWER_MONITOR_ONLY=true makes Watchtower report available updates without applying them, which covers most of Diun's use case in one tool. Pair it with a notification URL and individual container labels to flip trusted apps back to auto-update.

Can I run Watchtower and Diun together?

Yes. A common pattern is Watchtower auto-updating stateless apps while Diun notifies about everything, so critical systems still get human-reviewed updates. They don't conflict because Diun never modifies containers.

Which tool is better maintained in 2026?

Diun remains actively maintained upstream. The original Watchtower (containrrr/watchtower) was archived in December 2025 — for the Watchtower side, use the maintained nickfedor/watchtower fork. See our migration guide for the one-line switch.

WD
WatchtowerDocker Editorial Team
This guide is maintained by the WatchtowerDocker editorial team, an independent resource not affiliated with containrrr or Nicholas Fedor.