diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a772f1694227be2520845aa0d9d2bdd50ed742b1..673165aad8a55e14ca3b450c6e81e93b6d8f5f77 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,7 +29,7 @@ variables:
   # the daemon started inside of the service. The daemon is available
   # with a network connection instead of the default
   # /var/run/docker.sock socket.
-  DOCKER_HOST: tcp://docker:2376
+  DOCKER_HOST: tcp://127.0.0.1:2376
 
   # shared volume for docker-in-docker
   DOCKER_TLS_CERTDIR: "/certs"