mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
docker-py: use --mount for bind-mounting docker.sock
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
b04cbf1072
commit
535e29da05
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ source hack/make/.integration-test-helpers
|
||||||
case "${docker_host_scheme}" in
|
case "${docker_host_scheme}" in
|
||||||
unix)
|
unix)
|
||||||
# trim the tcp:// scheme, and bind-mount the docker socket into the container
|
# 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)
|
tcp)
|
||||||
|
|
Loading…
Reference in a new issue