Repository navigation
Conversation
Signed-off-by: Helder Correia <[email protected]>
✅ Deploy Preview for devel-docs-dagger-io ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
|
This is a great feature, thank you :) About the dependency issue: I think we should move it all to EDIT: mmmm I really like the subpackage name On the decision to spin out docker/clientYou inspired me to share my thinkin this topic, I initially wrote it here but moved it to its own issue: #1856 |
TomChv
left a comment
There was a problem hiding this comment.
It's a really nice and smooth implementation, I like it!
I left a few comments but it looks really good.
I think you should also add tests, examples and a write a piece of documentation.
| #RunSSH: { | ||
| host: =~"^ssh://.+" | ||
|
|
||
| ssh: { |
There was a problem hiding this comment.
This implementation do not handle ssh key protected by password, is this something we want or not now?
There was a problem hiding this comment.
I just haven't gotten to that. Figured it's better to add it later then delaying.
| @@ -0,0 +1,74 @@ | |||
| package docker | |||
|
|
|||
| #Client: { | |||
There was a problem hiding this comment.
Is it usable for raw ssh command on a VPS?
There was a problem hiding this comment.
No, it's meant to be used with DOCKER_HOST, so the focus is on docker client commands.
Of course, it's not ready yet (WIP). It was just to discuss implementation. 😉 |
|
Didn't mean to close, just renamed the branch. Shuffling PRs around. |
|
New PR in #1862 |
@shykes, WDYT?
I meant to put it in
universe.dagger.io/docker/clientbutdocker.#Loadneeds it (#1842) and it would create a circular import. Maybe move toclient.#Load?It's also flexible in the way you can compose these.
The default allows for local socket, http/https or ssh:
Just want to run in local daemon with another image?
This client was already discussed multiple times. We talked about it with @TomChv and @grouville on deploying to docker swarm. Also asked in #1650 (comment).