Bump docker-py

This should fix https problems when running on
remote daemon

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
Ulysses Souza 2020-05-29 10:11:45 +02:00
parent cad60dbc00
commit 3f0a7fe3ee
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ def default_cert_path():
def make_context(host, options, environment):
tls = tls_config_from_options(options, environment)
ctx = Context("compose", host=host)
ctx = Context("compose", host=host, tls=tls.verify if tls else False)
if tls:
ctx.set_endpoint("docker", host, tls, skip_tls_verify=not tls.verify)
return ctx
@ -138,7 +138,7 @@ def docker_client(environment, version=None, context=None, tls_version=None):
tls = kwargs.get("tls", None)
verify = False if not tls else tls.verify
if host:
context = Context("compose", host=host)
context = Context("compose", host=host, tls=verify)
else:
context = ContextAPI.get_current_context()
if tls:

View File

@ -5,7 +5,7 @@ certifi==2020.4.5.1
chardet==3.0.4
colorama==0.4.3; sys_platform == 'win32'
distro==1.5.0
docker==4.2.0
docker==4.2.1
docker-pycreds==0.4.0
dockerpty==0.4.1
docopt==0.6.2