From d084f5604defafcdb255190bab07635c964cf587 Mon Sep 17 00:00:00 2001 From: Jan Rundshagen Date: Fri, 28 Mar 2025 13:12:11 +0100 Subject: [PATCH] fix: update minimum Docker API version to 1.44 in documentation and code --- docs/arguments.md | 4 ++-- internal/flags/flags.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/arguments.md b/docs/arguments.md index 414eace..2966370 100644 --- a/docs/arguments.md +++ b/docs/arguments.md @@ -166,13 +166,13 @@ Environment Variable: DOCKER_HOST ``` ## Docker API version -The API version to use by the Docker client for connecting to the Docker daemon. The minimum supported version is 1.24. +The API version to use by the Docker client for connecting to the Docker daemon. The minimum supported version is 1.44. ```text Argument: --api-version, -a Environment Variable: DOCKER_API_VERSION Type: String - Default: "1.45" + Default: "1.44" ``` ## Include restarting diff --git a/internal/flags/flags.go b/internal/flags/flags.go index 71a5735..e71d02c 100644 --- a/internal/flags/flags.go +++ b/internal/flags/flags.go @@ -17,7 +17,7 @@ import ( // DockerAPIMinVersion is the minimum version of the docker api required to // use watchtower -const DockerAPIMinVersion string = "1.45" +const DockerAPIMinVersion string = "1.44" var defaultInterval = int((time.Hour * 24).Seconds())