mirror of https://github.com/docker/compose.git
Shell out to ssh client for ssh connections
Signed-off-by: aiordache <anca.iordache@docker.com>
This commit is contained in:
parent
854c003359
commit
e28c948f34
|
@ -166,8 +166,8 @@ def docker_client(environment, version=None, context=None, tls_version=None):
|
|||
kwargs['credstore_env'] = {
|
||||
'LD_LIBRARY_PATH': environment.get('LD_LIBRARY_PATH_ORIG'),
|
||||
}
|
||||
|
||||
client = APIClient(**kwargs)
|
||||
use_paramiko_ssh = int(environment.get('COMPOSE_PARAMIKO_SSH', 0))
|
||||
client = APIClient(use_ssh_client=not use_paramiko_ssh, **kwargs)
|
||||
client._original_base_url = kwargs.get('base_url')
|
||||
|
||||
return client
|
||||
|
|
|
@ -4,7 +4,7 @@ certifi==2020.6.20
|
|||
chardet==3.0.4
|
||||
colorama==0.4.3; sys_platform == 'win32'
|
||||
distro==1.5.0
|
||||
docker==4.3.1
|
||||
docker==4.4.0
|
||||
docker-pycreds==0.4.0
|
||||
dockerpty==0.4.1
|
||||
docopt==0.6.2
|
||||
|
|
Loading…
Reference in New Issue