Skip to content

Commit

Permalink
Improve GitLab docs (#8775)
Browse files Browse the repository at this point in the history
Co-authored-by: Eddú Meléndez <[email protected]>
  • Loading branch information
JapuDCret and eddumelendez authored Aug 21, 2024
1 parent 251bca5 commit a85d57a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ See below for an example runner configuration:
Please also include the following in your GitlabCI pipeline definitions (`.gitlab-ci.yml`) that use Testcontainers:
```yml
variables:
TESTCONTAINERS_HOST_OVERRIDE: "host.docker.internal"
TESTCONTAINERS_HOST_OVERRIDE: "<ip-docker-host>"
```
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.
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`.

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

Expand Down

0 comments on commit a85d57a

Please sign in to comment.