Add DOCKER_API_VERSION to Watchtower configuration

Prevents 'client version too old' errors when Watchtower tries to
communicate with modern Docker daemons that require API version 1.44+
This commit is contained in:
Graham McIntire 2026-01-16 17:39:10 -06:00
parent efa8404ea6
commit 368ca5a0a6
No known key found for this signature in database

View file

@ -67,6 +67,9 @@ services:
# Include stopped containers in updates
- WATCHTOWER_INCLUDE_STOPPED=true
# Use latest Docker API version (prevents "client version too old" errors)
- DOCKER_API_VERSION=1.44
# Optional: Send notifications (Slack, Discord, email, etc.)
# See: https://containrrr.dev/watchtower/notifications/
# - WATCHTOWER_NOTIFICATIONS=slack