fix: update minimum Docker API version to 1.44 in documentation and code

This commit is contained in:
Jan Rundshagen 2025-03-28 13:12:11 +01:00 committed by Jan O. Rundshagen
parent d57b5eeb84
commit d084f5604d
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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())