docker-py
docker-py copied to clipboard
Reuse SSH connection
Don't close the SSH connection for the subsequent requests.
For the paramiko client option (use_ssh_client=False
) there was some kind of reuse but it reuses on per-URL basis for some reason. Maybe someone can clarify why.
Fixes: https://github.com/docker/docker-py/issues/2966