Add docker api version parameter (#372)

* Add docker api version parameter

* Note for minimum supported version

* Tests for EnvConfig
This commit is contained in:
Kaloyan Raev 2019-08-25 13:37:20 +03:00 committed by Simon Aronsson
parent 7f7db72686
commit f820eb5b3a
4 changed files with 63 additions and 8 deletions

View file

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