diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d79b8b717e11ecae46943e24b9c3e41924bcae3f..a435b8af90ec5763ff7081ad3fbb09475ada3737 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://localhost:2376
 
   # shared volume for docker-in-docker
   DOCKER_TLS_CERTDIR: "/certs"