Add docker cli package
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
15
docs/drafts/plans/docker-cli-run/local.cue
Normal file
15
docs/drafts/plans/docker-cli-run/local.cue
Normal file
@@ -0,0 +1,15 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"dagger.io/dagger"
|
||||
"universe.dagger.io/docker/cli"
|
||||
)
|
||||
|
||||
dagger.#Plan & {
|
||||
client: filesystem: "/var/run/docker.sock": read: contents: dagger.#Service
|
||||
|
||||
actions: run: cli.#Run & {
|
||||
host: client.filesystem."/var/run/docker.sock".read.contents
|
||||
command: name: "info"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user