Why Run Watchtower on QNAP?
QNAP NAS units running Container Station are common homelab Docker hosts for Nextcloud, Jellyfin, Immich, Home Assistant, and Portainer. Without watchtower docker qnap set up, keeping those images current means logging into Container Station (or SSH) and manually pulling and recreating every container whenever a new tag ships.
Installing docker watchtower qnap automates that loop. If anything doesn't behave the way this guide describes, the Watchtower troubleshooting guide covers the errors people hit most often.
Prerequisites
- QNAP NAS running QTS 5.x or QuTS hero
- Container Station 3 installed from App Center
- Admin access to the QNAP web interface
- SSH enabled (Control Panel → Network & File Services → Telnet / SSH) — only needed for Method 1
Method 1: SSH + Docker Compose (Recommended)
SSH into the NAS and deploy Watchtower the same way you would on any Linux Docker host — Container Station 3 picks up and lists containers created this way automatically:
# SSH into the QNAP
ssh admin@192.168.1.x
# Create a working directory
mkdir -p /share/Container/watchtower
cd /share/Container/watchtower
# Create docker-compose.yml
cat > docker-compose.yml <<'EOF'
services:
watchtower:
image: containrrr/watchtower
container_name: watchtower
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_POLL_INTERVAL=21600
EOF
# Start it
docker-compose up -d
For the full cron-vs-interval breakdown and timezone handling, see Watchtower Docker schedule configuration.
Method 2: Container Station "Create Application" (No SSH)
Container Station 3's Applications feature accepts a Docker Compose YAML directly and validates it before deploying — useful if you'd rather not enable SSH at all:
- Open Container Station from the QNAP desktop
- Go to Applications → Create
- Choose Create Application and switch to the YAML editor
- Paste the compose block from Method 1 above
- Click Validate to catch formatting errors, then Create
- For a full list of settings, see the Watchtower environment variables reference and add extra
environmentlines as needed
/share/Container/container-station-data/application/<name>/docker-compose.yml — handy if you ever need to edit it directly over SSH later.Common QNAP Watchtower Issues
Issue: "Permission denied" on /var/run/docker.sock
Make sure you're running the docker-compose command as admin or with sudo — QNAP's shell account permissions on the Docker socket depend on the account's group membership.
Issue: Container Station shows Watchtower as "Unhealthy"
Watchtower ships without a Docker health-check endpoint, so Container Station's health indicator is cosmetic here. Check docker logs watchtower to confirm it's actually polling and updating.
Issue: duplicate-looking containers after mixing Method 1 and Method 2
Only run Watchtower once per host. If you deployed it via SSH and then again through Create Application (or vice versa), remove one — two Watchtower instances watching the same Docker socket will both try to update the same containers. If you deliberately need more than one, see running multiple Watchtower instances safely.
Recommended QNAP Configuration
services:
watchtower:
image: containrrr/watchtower
container_name: watchtower
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_SCHEDULE=0 0 3 * * * # 3 AM daily
- WATCHTOWER_NOTIFICATIONS=slack
- WATCHTOWER_NOTIFICATION_SLACK_HOOK_URL=https://hooks.slack.com/...
For Discord, Telegram, email, and ntfy setup instead of Slack, see the Watchtower notifications guide.
Frequently Asked Questions
Yes. Container Station runs a standard Docker daemon underneath, so Watchtower works the same way it does on any Linux Docker host. You can deploy it as a Container Station Application (Compose YAML) or over SSH — either way the container shows up in Container Station's container list.
No. QTS/QuTS hero and Container Station are QNAP system packages, not Docker containers — Watchtower only manages containers running under the Docker daemon. QNAP system and app updates still go through App Center.
Yes. Container Station 3's Create Application screen accepts a Docker Compose YAML file directly and validates it before deploying, so you can set up Watchtower entirely through the web interface without SSH access.