aiodocker icon indicating copy to clipboard operation
aiodocker copied to clipboard

Connect daemon via ssh

Open royreznik opened this issue 4 years ago • 2 comments

Long story short

I need to connect to my docker daemon via ssh, (url = 'ssh://username@hostname') This functionality is also implemented in the docker cli and docker-py

  • Expected behaviour:

Using ssh to connect to the daemon

  • Actual behaviour:

None

How to reproduce

Docker('ssh://username@hostname')

Your environment

Linux - Centos 7 python 3.8

royreznik avatar Mar 22 '20 11:03 royreznik

Sorry, I don't think that the feature can be implemented easily. Please feel free to provide a pull request though.

asvetlov avatar Mar 25 '20 12:03 asvetlov

Docker-py is using paramiko to provide ssh connection (ref). Maybe it is possible to use asyncssh which provides a superset of the functionality found in asyncio transport ?

akiuni avatar Jul 22 '21 14:07 akiuni