Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 604478a

Browse files
committed
docker-py: use --mount for bind-mounting docker.sock
Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 535e29da057e887000dd4e4d765dc945a5257660) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 16639f549e75b3aebe3f6993936547ee65e9b951 Component: engine
1 parent ebab879 commit 604478a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/engine/hack/make/test-docker-py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ source hack/make/.integration-test-helpers
2626
case "${docker_host_scheme}" in
2727
unix)
2828
# trim the tcp:// scheme, and bind-mount the docker socket into the container
29-
run_opts="-v ${DOCKER_HOST#unix://}:/var/run/docker.sock"
29+
run_opts="--mount type=bind,src=${DOCKER_HOST#unix://},dst=/var/run/docker.sock"
3030
;;
3131

3232
tcp)

0 commit comments

Comments
 (0)