diff --git a/hack/make/test-docker-py b/hack/make/test-docker-py index 27284744644f8c1f8d6f8349bf1afbae1380c211..f35456be45b8cd83ce3b13329358f7b211e037a3 100644 --- a/hack/make/test-docker-py +++ b/hack/make/test-docker-py @@ -26,7 +26,7 @@ source hack/make/.integration-test-helpers case "${docker_host_scheme}" in unix) # trim the tcp:// scheme, and bind-mount the docker socket into the container - run_opts="-v ${DOCKER_HOST#unix://}:/var/run/docker.sock" + run_opts="--mount type=bind,src=${DOCKER_HOST#unix://},dst=/var/run/docker.sock" ;; tcp)