mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
Add docker api version parameter (#372)
* Add docker api version parameter * Note for minimum supported version * Tests for EnvConfig
This commit is contained in:
parent
7f7db72686
commit
f820eb5b3a
4 changed files with 63 additions and 8 deletions
|
@ -75,7 +75,17 @@ Docker daemon socket to connect to. Can be pointed at a remote Docker host by sp
|
|||
Environment Variable: DOCKER_HOST
|
||||
Type: String
|
||||
Default: "unix:///var/run/docker.sock"
|
||||
```
|
||||
```
|
||||
|
||||
## 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.
|
||||
|
||||
```
|
||||
Argument: --api-version, -a
|
||||
Environment Variable: DOCKER_API_VERSION
|
||||
Type: String
|
||||
Default: "1.24"
|
||||
```
|
||||
|
||||
## Include stopped
|
||||
Will also include created and exited containers.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue