docker run \
--rm \
--volume="${DOCKER_HOST:-/var/run/docker.sock}":/var/run/docker.sock \
--env=_EXPERIMENTAL_DAGGER_RUNNER_HOST=unix:///var/run/docker.sock \
--volume="${PWD}":/app \
--workdir=/app \
docker.io/node \
sh -c "curl --silent -XGET --unix-socket /run/docker.sock http://localhost/version && npm ci && node dagger.mjs"
I've added a curl statement to double-check that the socket indeed works. curl returns:
{"Platform":{"Name":"linux/arm64/ubuntu-22.04"},"Components":[{"Name":"Podman Engine","Version":"3.4.4","Details":{"APIVersion":"3.4.4","Arch":"arm64","BuildTime":"1969-12-31T16:00:00-08:00","Experimental":"false","GitCommit":"","GoVersion":"go1.18.1","KernelVersion":"6.1.63-current-meson64","MinAPIVersion":"3.1.0","Os":"linux"}},{"Name":"Conmon","Version":"conmon version 2.0.25, commit: unknown","Details":{"Package":"conmon: /usr/bin/conmon"}},{"Name":"OCI Runtime (crun)","Version":"crun version 0.17\ncommit: 0e9229ae34caaebcb86f1fde18de3acaf18c6d9a\nspec: 1.0.0\n+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL","Details":{"Package":"crun: /usr/bin/crun"}}],"Version":"3.4.4","ApiVersion":"1.40","MinAPIVersion":"1.24","GitCommit":"","GoVersion":"go1.18.1","Os":"linux","Arch":"arm64","KernelVersion":"6.1.63-current-meson64","BuildTime":"1969-12-31T16:00:00-08:00"}
What troubleshooting steps should I attempt to resolve the issue?