docker-modem icon indicating copy to clipboard operation
docker-modem copied to clipboard

Multiplex over ssh

Open mcary opened this issue 5 years ago • 2 comments

Does this seem like a useful change for docker-modem? For my purposes, it means both a performance boost and improved ability to use docker-modem (and dockerode) without running ssh-agent.

I'm building on some ideas from this comment about running without ssh-agent.

mcary avatar Nov 09 '20 20:11 mcary

Would love to see more input about this change. We also need to add tests via SSH. (idea: use dockerode's test suite via SSH)

apocas avatar Apr 25 '21 18:04 apocas

@apocas: There is some additional detail regarding rationale in each of the commit messages. Does that help meet your request for more input about the change?

Also, I'm a little confused about the test suite idea to use dockerode's test suite via SSH. Are you suggesting that docker-modem should gain a dependency on dockerode and run dockerode's suite with a docker-modem configuration that uses SSH? (Normally I would expect people to want to avoid such a circular dependency.) What should the suite connect to over SSH, a docker host configured by Vagrant or something? I noticed the existing test coverage for docker-modem seems to focus mostly on how configuration is applied, not on how docker-modem actually communicates, so following the precedent of tests for the HTTP agents wouldn't seem to accomplish the goal of using dockerode's suite (unless I'm missing part of how docker-modem is tested when I look at the test/ directory of docker-modem?).

mcary avatar Apr 26 '21 15:04 mcary