mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-16 15:10:12 +01:00
fix: update minimum Docker API version to 1.44 in documentation and code
This commit is contained in:
parent
d57b5eeb84
commit
d084f5604d
2 changed files with 3 additions and 3 deletions
|
|
@ -166,13 +166,13 @@ Environment Variable: DOCKER_HOST
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker API version
|
## 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
|
```text
|
||||||
Argument: --api-version, -a
|
Argument: --api-version, -a
|
||||||
Environment Variable: DOCKER_API_VERSION
|
Environment Variable: DOCKER_API_VERSION
|
||||||
Type: String
|
Type: String
|
||||||
Default: "1.45"
|
Default: "1.44"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Include restarting
|
## Include restarting
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ import (
|
||||||
|
|
||||||
// DockerAPIMinVersion is the minimum version of the docker api required to
|
// DockerAPIMinVersion is the minimum version of the docker api required to
|
||||||
// use watchtower
|
// use watchtower
|
||||||
const DockerAPIMinVersion string = "1.45"
|
const DockerAPIMinVersion string = "1.44"
|
||||||
|
|
||||||
var defaultInterval = int((time.Hour * 24).Seconds())
|
var defaultInterval = int((time.Hour * 24).Seconds())
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue