Move connecting socket to client: network
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
dagger.#Plan & {
|
||||
client: filesystem: "/var/run/docker.soc": read: contents: dagger.#Socket
|
||||
client: network: "unix:///var/run/docker.soc": connect: dagger.#Socket
|
||||
|
||||
actions: {
|
||||
image: core.#Pull & {
|
||||
@@ -22,7 +22,7 @@ dagger.#Plan & {
|
||||
input: imageWithDocker.output
|
||||
mounts: docker: {
|
||||
dest: "/var/run/docker.sock"
|
||||
contents: client.filesystem."/var/run/docker.soc".read.contents
|
||||
contents: client.network."unix:///var/run/docker.soc".connect
|
||||
}
|
||||
args: ["docker", "info"]
|
||||
}
|
@@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
dagger.#Plan & {
|
||||
client: filesystem: "/var/run/docker.sock": read: contents: dagger.#Socket
|
||||
client: network: "unix:///var/run/docker.sock": connect: dagger.#Socket
|
||||
|
||||
actions: {
|
||||
image: core.#Pull & {
|
||||
@@ -22,7 +22,7 @@ dagger.#Plan & {
|
||||
input: imageWithDocker.output
|
||||
mounts: docker: {
|
||||
dest: "/var/run/docker.sock"
|
||||
contents: client.filesystem."/var/run/docker.sock".read.contents
|
||||
contents: client.network."unix:///var/run/docker.sock".connect
|
||||
}
|
||||
args: ["docker", "info"]
|
||||
}
|
@@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
dagger.#Plan & {
|
||||
client: filesystem: "//./pipe/docker_engine": read: contents: dagger.#Socket
|
||||
client: network: "npipe:////./pipe/docker_engine": connect: dagger.#Socket
|
||||
|
||||
actions: {
|
||||
image: core.#Pull & {
|
||||
@@ -22,7 +22,7 @@ dagger.#Plan & {
|
||||
input: imageWithDocker.output
|
||||
mounts: docker: {
|
||||
dest: "/var/run/docker.sock"
|
||||
contents: client.filesystem."//./pipe/docker_engine".read.contents
|
||||
contents: client.network."npipe:////./pipe/docker_engine".connect
|
||||
}
|
||||
args: ["docker", "info"]
|
||||
}
|
Reference in New Issue
Block a user