diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1922772a3744381068bd8e19af87befbadc3dc79..23e78f8865cd6532126e647586d071dc8d91c3ed 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@ variables:
   BUILD_VERSION: ""
   HOSTALIASES: "./hosts"
   DOCKER_HOST: "unix:///var/run/dind/docker.sock"
+  TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE: "/var/run/dind/docker.sock"
   DOCKER_VERSION: "27"
   ALPINE_VERSION: "3.21"
   PYTHON_VERSION: "3.11"
@@ -171,6 +172,7 @@ test-dashboard-service:
     - "cp -r ./dbrepo-dashboard-service/init/tests/rsa ./dbrepo-dashboard-service/tests"
     - "cp -r ./dbrepo-dashboard-service/init/tests/conftest.py ./dbrepo-dashboard-service/tests"
   script:
+    - echo "${TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE}"
     - "pip install pipenv"
     - "pipenv install gunicorn && pipenv install --dev --system --deploy"
     - cd ./dbrepo-dashboard-service/ && coverage run --rcfile=.coveragerc -m pytest tests/test_integration_app.py && coverage html && coverage xml && coverage report > ./coverage.txt
@@ -198,6 +200,7 @@ test-dashboard-service-init:
   dependencies:
     - build-dashboard-service
   script:
+    - echo "${TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE}"
     - "pip install pipenv"
     - "pipenv install gunicorn && pipenv install --dev --system --deploy"
     - cd ./dbrepo-dashboard-service/init/ && coverage run --rcfile=.coveragerc -m pytest tests/test_app.py tests/test_integration_dashboard.py && coverage html && coverage xml && coverage report > ./coverage.txt