This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/docs/tests/core-concepts/client/plans/windows.cue
Helder Correia d771699df9
Move connecting socket to client: network
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 18:16:07 +00:00

21 lines
412 B
CUE

dagger.#Plan & {
client: network: "npipe:////./pipe/docker_engine": connect: dagger.#Socket
actions: {
image: alpine.#Build & {
packages: "docker-cli": {}
}
run: docker.#Run & {
input: image.output
mounts: docker: {
dest: "/var/run/docker.sock"
contents: client.network."npipe:////./pipe/docker_engine".connect
}
command: {
name: "docker"
args: ["info"]
}
}
}
}