Release v1.17.1 of Watchtower implements a change from the deprecated github.com/docker/docker dependency to the dedicated github.com/moby/moby/client and github.com/moby/moby/api modules. Review #1613 for more info. This release also fixes a longstanding bug when using the no-restart configuration option to skip new container startup.
Important
#1620 corrects a missing label that will cause Watchtower self-updates to fail, such as when it attempts to self-update from v1.17.0 to v1.17.1 . The old container will remain in a stopped state and no new Watchtower container is created.
One-Time Remediation:
- Remove the old, stopped container:
docker rm -f $(docker ps -a -q --filter ancestor=nickfedor/watchtower) - Pull the new Watchtower container image:
docker pull nickfedor/watchtower
- Start the new Watchtower container image
Fixes
- fix(goreleaser): add missing watchtower label to Docker images by @nicholas-fedor in #1620
- fix(actions): restore no-restart flag to only skip container start by @nicholas-fedor in #1626
Refactoring
- refactor(deps): migrate from docker/docker to moby/moby split packages for v29 compatibility by @nicholas-fedor in #1613
Dependency Updates
- chore(deps): update module github.com/onsi/ginkgo/v2 to v2.29.0 by @renovate[bot] in #1630
- chore(deps): update module github.com/onsi/gomega to v1.41.0 by @renovate[bot] in #1631
- chore(deps): update module github.com/docker/cli to v29.5.1+incompatible by @renovate[bot] in #1635
Full Changelog: v1.17.0...v1.17.1