Adding ssl_version to docker_clients kwargs

Select tls version based of COMPOSE_TLS_VERSION

Changed from SSL to TLS

Also did docs - missing default value

Using getattr and raises AttributeError in case of unsupported version

Signed-off-by: Kalle Møller <github.com@k-moeller.dk>
This commit is contained in:
Kalle Møller 2016-03-14 01:54:15 +01:00
commit 7fc40dd7cc
3 changed files with 18 additions and 5 deletions

View file

@ -75,6 +75,10 @@ Configures the path to the `ca.pem`, `cert.pem`, and `key.pem` files used for TL
Configures the time (in seconds) a request to the Docker daemon is allowed to hang before Compose considers
it failed. Defaults to 60 seconds.
## COMPOSE\_TLS\_VERSION
Configure which TLS version is used for TLS communication with the `docker` daemon, defaults to `TBD`
Can be `TLSv1`, `TLSv1_1`, `TLSv1_2`.
## Related Information