From 044e020cfa145a96f92c8e8bbd806b15f372ed91 Mon Sep 17 00:00:00 2001 From: Kevin Wittek Date: Fri, 2 Dec 2022 15:31:27 +0100 Subject: [PATCH] Clarify docker-socket mounting workaround for Docker Desktop --- .../continuous_integration/dind_patterns.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/supported_docker_environment/continuous_integration/dind_patterns.md b/docs/supported_docker_environment/continuous_integration/dind_patterns.md index b6fc4e489ea..402e2540789 100644 --- a/docs/supported_docker_environment/continuous_integration/dind_patterns.md +++ b/docs/supported_docker_environment/continuous_integration/dind_patterns.md @@ -32,6 +32,11 @@ Where: * `-w $PWD` will set the current directory to this volume * `-v /var/run/docker.sock:/var/run/docker.sock` will map the Docker socket + +!!! note + If you are using Docker Dekstop, you need to mount the Docker socket that bypasses the API proxy (see [this comment](https://github.com/docker/for-mac/issues/5588#issuecomment-934600089) for more details): + `-v /var/run/docker.sock.raw:/var/run/docker.sock` + ### Docker Compose example The same can be achieved with Docker Compose: ```yaml