You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add information for TLS disabled mode in Gitlab (#2466)
The Docker daemon supports connection over TLS and it’s done by default for Docker 19.03.1 or higher.
We need to instruct docker to not start over TLS with DOCKER_TLS_CERTDIR variable
Co-authored-by: Richard North <[email protected]>
Copy file name to clipboardExpand all lines: docs/supported_docker_environment/continuous_integration/gitlab_ci.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# GitLab CI
2
2
3
3
In order to use Testcontainers in a Gitlab CI pipeline, you need to run the job as a Docker container (see [Patterns for running inside Docker](dind_patterns.md)).
4
-
So edit your `.gitlab-ci.yml` to include the [Docker-In-Docker service](https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#use-docker-in-docker-executor) (`docker:dind`) and set the `DOCKER_HOST` variable to `tcp://docker:2375`.
4
+
So edit your `.gitlab-ci.yml` to include the [Docker-In-Docker service](https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#use-docker-in-docker-workflow-with-docker-executor) (`docker:dind`) and set the `DOCKER_HOST` variable to `tcp://docker:2375` and `DOCKER_TLS_CERTDIR` to empty string.
5
5
6
6
Here is a sample `.gitlab-ci.yml` that executes test with gradle:
7
7
@@ -13,6 +13,8 @@ services:
13
13
variables:
14
14
# Instruct Testcontainers to use the daemon of DinD.
0 commit comments