Watchtower vs Manual Updates: Keeping Self-Hosted Apps Current
Every self-hoster hits the same decision sooner or later: let something update your containers automatically, or do it yourself. Watchtower is the most popular tool for the automatic route. It watches your running Docker containers, pulls new images when they appear, and restarts containers with the new versions. The manual route means you pull and redeploy updates yourself, on your own schedule, after checking what changed.
Neither approach is right for every container. This guide compares watchtower vs manual updates honestly: what Watchtower actually does, how to set it up safely, when its auto-updates can break things like databases, and a workflow for manual updates that doesn’t eat your weekends. If you’re still getting your stack running, start with installing Docker Compose on Ubuntu 24.04 before touching either method.
Watchtower vs Manual Updates: What’s Actually Different
Watchtower runs as its own container. It talks to the Docker socket, polls image registries for new tags on a schedule you set, and when it finds one, it stops the old container, pulls the new image, and starts a fresh container with the same config. The whole loop is hands-off. You don’t have to think about updates until something breaks.
Manual updates are the opposite trade. You run docker compose pull and docker compose up -d yourself, which means you decide exactly when each container changes. That decision window is where you read changelogs, check breaking changes, and take a backup first. Watchtower can send you notifications about what it updated, but it acts first and tells you after.
Setting Up Watchtower on a VPS
A basic Watchtower deployment is one container in your existing compose stack. With this in place, watchtower docker updates happen on your schedule instead of at startup time:
services:
watchtower:
image: containrrr/watchtower
container_name: watchtower
restart: unless-stopped
command: --schedule "0 0 4 * * *" --cleanup
environment:
- TZ=Asia/Jakarta
volumes:
- /var/run/docker.sock:/var/run/docker.sock
A few details matter. The --schedule flag uses cron syntax, so 0 0 4 * * * runs once a day at 4 AM, when you’re unlikely to be using the apps. Without a schedule flag, Watchtower polls every 24 hours from startup. --cleanup removes old images after an update, which keeps disk space in check on a small VPS, something worth watching alongside the habits in our guide to checking VPS resource usage.
Giving Watchtower access to the Docker socket is the real security consideration here. The socket is effectively root access to the host, so Watchtower’s container becomes a high-value target. Keep the VPS itself locked down: key-only SSH, a firewall, and automatic security updates on Ubuntu or Debian so the host doesn’t lag behind the containers.
Scoping: Which Containers Get Auto-Updated
By default, Watchtower updates every running container. That is almost never what you want. The safe pattern is to run Watchtower in label-scoped mode and opt containers in explicitly:
services:
watchtower:
image: containrrr/watchtower
command: --schedule "0 0 4 * * *" --cleanup --label-enable
volumes:
- /var/run/docker.sock:/var/run/docker.sock
uptime-kuma:
image: louislam/uptime-kuma:1
labels:
- "com.centurylinklabs.watchtower.enable=true"
With --label-enable, only containers carrying that label get updated. Everything else is ignored. You can also run Watchtower in --monitor-only mode, which reports available updates without applying them. That turns Watchtower into a notification system instead of an updater, which is a reasonable middle ground if you want awareness without the risk.
Pinning image tags is the other half of safe docker container auto update. Watchtower only tracks the tag you pulled. If you run image: postgres:15, Watchtower updates you within PostgreSQL 15 patch releases. If you run image: postgres:latest, it will happily jump you to a new major version overnight, and that is exactly the kind of update that breaks databases.
Notifications: Knowing What Changed
Out of the box, Watchtower logs what it does and that’s it. For unattended updates, notifications are not optional. The simplest setup is email, but most self-hosters wire Watchtower to something they actually read: Gotify, ntfy, Slack, Discord, or a Telegram bot. Watchtower supports these through its notification settings, and the notification includes which containers were updated and which failed.
Notifications serve two purposes. First, they tell you an update happened so you can check the app still works. Second, they tell you when an update failed to apply, which is when you’re most likely to wake up to a stopped service. Pair this with an external monitor like Uptime Kuma so you’re not relying on Watchtower alone to tell you its own updates broke something.
The Manual Update Workflow
A sensible manual workflow is short enough that you won’t skip it:
- Back up first. Snapshot the volumes you’re about to touch. If you don’t have a backup routine yet, see our comparison of Duplicati vs Restic vs Kopia for Docker volumes.
- Read the changelog. Check the project’s release notes for breaking changes, migration steps, or required config changes.
- Pull and redeploy. Run
docker compose pullthendocker compose up -dfor the service you’re updating. - Verify. Open the app, check the logs with
docker compose logs --tail=50, and confirm the version in the app’s about page or API. - Keep the old image briefly. Don’t run
docker image pruneimmediately. If something breaks,docker compose up -dagainst the old tag rolls you back in seconds.
This takes a few minutes per app, once a week or once a month. The cost is your time. The benefit is that you catch breaking changes before they go live, and you always have a tested backup from just before the update.
When Auto-Updates Are Dangerous: Databases and Stateful Apps
This is the section that decides which approach you use per container. Watchtower treats every container the same: pull, stop, restart. Some apps need more than that.
Databases are the classic danger case. PostgreSQL major versions change the on-disk data format. If Watchtower pulls postgres:16 over your postgres:15 data directory, the new server refuses to start and your app is down until you restore or run the manual upgrade path with pg_upgrade. MySQL and MariaDB have similar major-version constraints. This is not a rare edge case; it is the standard way database updates go wrong.
Apps with upgrade steps have the same problem. Nextcloud updates sometimes require running occ upgrade after the new code is in place. Ghost runs database migrations on startup that you may want to control. Wiki and forum software with version-skipping restrictions (you must go through specific intermediate versions) will break if Watchtower jumps two majors at once.
Reverse proxies and entry points are another category to exclude. If Watchtower restarts your reverse proxy or Cloudflare tunnel container and the new image has a config incompatibility, every service behind it goes down at once.
The practical rule: databases, apps with migration steps, and your reverse proxy stay manual. Everything else, like monitoring dashboards, static sites, and utility containers, is fair game for Watchtower.
Comparison Table
| Factor | Watchtower | Manual Updates |
|---|---|---|
| Effort | Near zero after setup | A few minutes per app, weekly or monthly |
| Update timing | Automatic on registry schedule | Fully controlled by you |
| Breaking-change risk | High for stateful apps | Low, because you read changelogs first |
| Databases | Dangerous with :latest tags |
Safe with backups and upgrade steps |
| Rollback | Manual, from old images if kept | Immediate, from pre-update backup |
| Visibility | Depends on notifications setup | You see every step |
| Best for | Stateless utilities, dashboards, small tools | Databases, Nextcloud-style apps, reverse proxies |
A Hybrid Setup That Actually Works
Most experienced self-hosters end up mixing both. Run Watchtower in --label-enable plus --monitor-only mode across everything for awareness, then enable actual auto-updates only on low-risk containers with pinned minor-version tags. Keep databases, your reverse proxy, and anything with migration steps on the manual workflow, backed up before every change.
Whichever route you pick, the discipline that matters is the same: pinned tags, working backups, and a way to know when something changed. That is the whole strategy for self-hosted app updates: automate what is safe, hand-check the rest, and keep a rollback path within reach.