What Changes, What Doesn't
The nickfedor fork is a true drop-in replacement. The maintainers deliberately kept every configuration surface identical, so migration means changing one line in one file and pulling the new image. Nothing else moves.
| Item | Change Required? |
|---|---|
| Image name | Change to nickfedor/watchtower |
All WATCHTOWER_* environment variables | No change — 100% identical |
| Docker labels on monitored containers | No change — all labels work identically |
Volume mounts (/var/run/docker.sock) | No change |
| Port mappings (HTTP API) | No change |
| Shoutrrr notification URLs | No change — see our notifications guide |
| Docker Swarm global service config | No change beyond image name |
nickfedor/watchtower will not trigger unexpected restarts on your other containers. Watchtower only restarts a container when it detects a newer image digest on the next scheduled poll. Your monitored containers are unaffected by the Watchtower image swap itself.If you're still deciding whether you need to move at all, read what the archive announcement actually said and the 2026 maintenance status overview.
What's Actually New in the nickfedor Fork
Before migrating, it helps to know what you're gaining. The containrrr repository was archived on December 17, 2025, and its final release — v1.7.1 — dates back to November 2023. In the nearly two years since that release, Docker's ecosystem moved on: newer Docker Engine versions, newer daemon APIs, and a steady drip of upstream Go library updates. The archived image can't follow any of that; it is frozen in time.
The nickfedor fork exists specifically to close that gap. It ships regular 2026 releases (the v1.20.x line) with updated dependencies and current Docker API support, so the Watchtower container keeps working cleanly against modern Docker daemons instead of slowly rotting against old API versions. Configuration parity is the project's core promise: every WATCHTOWER_* variable and every com.centurylinklabs.watchtower.* label behaves exactly as it did on the archived image.
Practically speaking, the value of the fork is maintenance, not features. You should not expect a radically different product — you should expect the same product that continues to work. That said, maintenance compounds: dependency updates quietly close security holes in vendored libraries, and staying current on the Docker API avoids the kind of slow, silent breakage that hits frozen images first — for example, unexpected behavior when a host upgrades its Docker Engine and the old client library no longer speaks the daemon's dialect fluently.
One honest caveat: this is a community-maintained fork, not a vendor product with an SLA. Pin your image to a specific tag (for example nickfedor/watchtower:1.20.0 style pinning once you've validated a version) if you want your updates to be deliberate rather than rolling. Floating tags like latest are convenient but mean your Watchtower itself updates on pull — the same trade-off discussed in our alternatives roundup.
Pre-Migration Backup Checklist
The migration itself is low-risk, but any change to the tool that restarts your containers deserves a safety net. Work through this checklist before touching the image line — it takes about five minutes and covers every realistic failure mode.
- Back up your compose files. Copy every
docker-compose.yml/compose.yamlthat references Watchtower (and ideally the whole directory) somewhere safe:cp docker-compose.yml docker-compose.yml.bak-2026-10-19 - Snapshot your running container list. If anything goes sideways, you want to know exactly what was running:
docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Status}}" > containers-before.txt - Record your current Watchtower config. Dump the effective configuration so you can diff it later:
docker inspect watchtower --format '{{json .Config.Env}}' | python3 -m json.tool > watchtower-env-before.json - Check your schedule window. Look at your
WATCHTOWER_SCHEDULEorWATCHTOWER_POLL_INTERVAL. If a poll is due in the next 15 minutes, wait for it to finish or temporarily pause — you don't want a scheduled update running while you swap the updater itself. If you use cron-style schedules, the migration window is trivial to pick. - Note your notification channel. Confirm notifications are working before migration (see the notifications guide). Post-migration, a working notification channel is how you'll know the new image is healthy without tailing logs.
- Pin down stateful containers. If you haven't already, double-check that databases and migration-sensitive services are excluded from auto-updates via labels or
WATCHTOWER_MONITOR_ONLY. A fork switch doesn't change update policy, but this is the cheapest moment to audit it.
containrrr/watchtower (or your backup compose file) and redeploy. Your docker-compose.yml.bak from step 1 makes this a 60-second operation.Method 1 — Docker Compose (Most Common)
This covers the typical setup where Watchtower is defined in a docker-compose.yml file. You'll use the backup checklist above, then change exactly one line.
Step 1: Open your docker-compose.yml and change the image line:
# Before — archived image
services:
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
WATCHTOWER_CLEANUP: "true"
WATCHTOWER_SCHEDULE: "0 0 4 * * *"
restart: unless-stopped
# After — active fork (only the image line changes)
services:
watchtower:
image: nickfedor/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
WATCHTOWER_CLEANUP: "true"
WATCHTOWER_SCHEDULE: "0 0 4 * * *"
restart: unless-stopped
Step 2: Pull the new image and restart the container:
docker compose pull watchtower
docker compose up -d watchtower
Step 3: Verify the new container is running:
docker compose logs watchtower
You should see startup logs from the nickfedor fork. The version string will differ from the old containrrr v1.7.1 — that's expected, since the fork ships the v1.20.x line with updated dependencies.
Method 2 — docker run
If you run Watchtower with a plain docker run command, update the image name and recreate the container:
# Step 1: Stop and remove the existing containrrr container
docker stop watchtower
docker rm watchtower
# Step 2: Pull the nickfedor fork
docker pull nickfedor/watchtower
# Step 3: Start with the new image (all flags remain the same)
docker run -d \
--name watchtower \
--restart unless-stopped \
-v /var/run/docker.sock:/var/run/docker.sock \
-e WATCHTOWER_CLEANUP=true \
-e WATCHTOWER_SCHEDULE="0 0 4 * * *" \
nickfedor/watchtower
Replace the environment variables and flags with your existing configuration — only the image name at the end changes.
Method 3 — Docker Swarm
If Watchtower runs as a global service in a Docker Swarm cluster:
# Update the service image — Swarm handles rolling restart automatically
docker service update \
--image nickfedor/watchtower \
watchtower
Or, if you use a Swarm stack file, update the image: line and redeploy:
docker stack deploy -c watchtower-stack.yml watchtower
Check the rolling update completes cleanly with docker service ps watchtower — you should see the new tasks reach Running state without flapping.
Method 4 — Portainer Stack
- In the Portainer UI, navigate to Stacks and select your Watchtower stack.
- Click Editor and change
image: containrrr/watchtowertoimage: nickfedor/watchtower. - Click Update the stack.
- Portainer will pull the new image and restart the Watchtower container automatically.
- Open the Watchtower container's Logs in Portainer to confirm a clean startup.
Verifying the Migration
After the migration, confirm Watchtower is running correctly before calling it done:
# Check the running container
docker ps | grep watchtower
# Confirm the new image is actually in use (not the old one)
docker inspect watchtower --format '{{.Config.Image}}'
# Check logs for startup confirmation
docker logs watchtower --tail 20
# Trigger a manual run-once check (optional but recommended)
docker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
nickfedor/watchtower --run-once --debug
Look for Checked X container(s) in the run-once output — this confirms the fork is reading your running containers correctly. Also verify that the container count matches your containers-before.txt snapshot: every container that was running pre-migration should still be running now.
First 24 Hours: Post-Migration Monitoring
The image swap is the easy part. The next 24 hours are where you confirm the fork is healthy under your real workload. Follow this monitoring sequence:
- First 15 minutes — startup sanity. Tail the logs and confirm there are no repeated error lines:
docker logs -f watchtower. A healthy startup ends with the schedule or poll interval being announced, not a crash loop. - First scheduled poll — the real test. Your migration didn't change
WATCHTOWER_SCHEDULE, so the next poll happens on your normal cadence. When it fires, check that the log shows a full scan of your containers and that any available updates are handled per your existing policy (auto-update, monitor-only, or label-excluded). - Verify notifications fire. If a container gets updated during the first day, confirm your notification channel reports it. If no updates occurred, force confidence with a manual
--run-once --debugrun and watch for the scan summary. - Compare against your snapshot. Diff the current container list against
containers-before.txt. The only differences should be containers that were intentionally updated — same names, newer image digests. - Check the Docker daemon. Since the fork ships current Docker API support, confirm
docker versionon the host and make sure the fork's client negotiates cleanly (noclient version too oldstyle errors in logs — see our fix guide if anything appears). - Watch disk usage. If you run with
WATCHTOWER_CLEANUP=true(unchanged from your old config), old image layers should be pruned after updates. A quickdocker system dfbefore and after the first update cycle confirms cleanup is working as before.
If everything above passes, delete the docker-compose.yml.bak-* file (or archive it elsewhere) and consider pinning the image tag so future updates of the fork itself are deliberate: change nickfedor/watchtower to nickfedor/watchtower:1.20.x-style pinning after validating a specific release in your environment.
Common Migration Issues
Issue: Old containrrr image is still running after compose up
Make sure you ran docker compose pull watchtower before docker compose up -d. If the local cache still has the containrrr image, Docker Compose may not pull the new one automatically without the explicit pull step.
Issue: "no such image" error after changing image name
Run docker pull nickfedor/watchtower explicitly, then retry. Check that your internet connection can reach Docker Hub. The GitHub source lives at github.com/nicholas-fedor/watchtower but the pullable image name is nickfedor/watchtower — don't mix the two up.
Issue: Container keeps restarting after migration
Check docker logs watchtower for the error. Common causes after a fork switch are a missing Docker socket (check the volume mount) or an environment variable typo introduced during the edit. Compare your configuration against the working examples above and the not-updating troubleshooting guide.
Issue: Schedule seems to have stopped firing
Confirm TZ is set if your cron schedule depends on a specific timezone. Also verify your WATCHTOWER_SCHEDULE is valid 6-field cron (seconds first): 0 0 4 * * * means 04:00:00 daily. A 5-field schedule silently misbehaves — this is the single most common schedule bug and is documented in the environment variables reference.
Frequently Asked Questions
No. Every WATCHTOWER_* environment variable is identical in the nickfedor fork. WATCHTOWER_CLEANUP, WATCHTOWER_SCHEDULE, WATCHTOWER_POLL_INTERVAL, WATCHTOWER_NOTIFICATION_URL, WATCHTOWER_LABEL_ENABLE — all work exactly the same. Only the image name changes.
No. All Watchtower labels (com.centurylinklabs.watchtower.enable, com.centurylinklabs.watchtower.stop-signal, com.centurylinklabs.watchtower.monitor-only, etc.) work identically in the nickfedor fork. No container labels need updating.
No. Watchtower only restarts a container when it detects a newer image digest. Switching the Watchtower image itself does not trigger restarts on your other containers. They will be checked at the next scheduled poll and only updated if a newer image exists on the registry.
Same project, different names on different platforms. The Docker Hub image is published as nickfedor/watchtower — that's the name you use in your image: line. The source code lives on GitHub at github.com/nicholas-fedor/watchtower — that's where you'd go to read the code or check recent commits.
The fork ships regular 2026 releases (the v1.20.x line) with updated dependencies and current Docker API support. The value is maintenance, not a feature overhaul: it keeps the same updater you know working cleanly against modern Docker daemons, closing the security and compatibility gap left by the archived v1.7.1 (November 2023).
Yes — rollback is the migration in reverse. Change the image line back to containrrr/watchtower (or restore the docker-compose.yml.bak from the pre-migration checklist) and redeploy. Because configuration is identical, there's nothing else to untangle.
Sources
- GitHub Discussion #2135 — containrrr's own archive announcement
- github.com/nicholas-fedor/watchtower — source for the fork this guide migrates to