Skip to content

Commit 351f5c4

Browse files
authored
Merge branch 'main' into main
2 parents eda42f9 + dc0f819 commit 351f5c4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/supported_docker_environment/continuous_integration/dind_patterns.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ Where:
3434

3535

3636
!!! note
37-
If you are using Docker Desktop, 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):
38-
`-v /var/run/docker.sock.raw:/var/run/docker.sock`
37+
If you are using Docker Desktop, you need to configure the `TESTCONTAINERS_HOST_OVERRIDE` environment variable to use the special DNS name
38+
`host.docker.internal` for accessing the host from within a container, which is provided by Docker Desktop:
39+
`-e TESTCONTAINERS_HOST_OVERRIDE=host.docker.internal`
3940

4041
### Docker Compose example
4142
The same can be achieved with Docker Compose:

0 commit comments

Comments
 (0)