Skip to content

Commit a85d57a

Browse files
Improve GitLab docs (#8775)
Co-authored-by: Eddú Meléndez <[email protected]>
1 parent 251bca5 commit a85d57a

File tree

1 file changed

+2
-2
lines changed
  • docs/supported_docker_environment/continuous_integration

1 file changed

+2
-2
lines changed

docs/supported_docker_environment/continuous_integration/gitlab_ci.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ See below for an example runner configuration:
2424
Please also include the following in your GitlabCI pipeline definitions (`.gitlab-ci.yml`) that use Testcontainers:
2525
```yml
2626
variables:
27-
TESTCONTAINERS_HOST_OVERRIDE: "host.docker.internal"
27+
TESTCONTAINERS_HOST_OVERRIDE: "<ip-docker-host>"
2828
```
2929
30-
The environment variable `TESTCONTAINERS_HOST_OVERRIDE` needs to be configured, otherwise, a wrong IP address would be used to resolve the Docker host, which will likely lead to failing tests.
30+
The environment variable `TESTCONTAINERS_HOST_OVERRIDE` needs to be configured, otherwise, a wrong IP address would be used to resolve the Docker host, which will likely lead to failing tests. For Windows and MacOS, use `host.docker.internal`.
3131

3232
## Example using DinD (Docker-in-Docker)
3333

0 commit comments

Comments
 (0)