diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a40fa5f213669056bdcfb6b619f1a92c26283af6..620c25336077522a56a32140ecc044f404b82177 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,7 +17,8 @@ stages:
 variables:
   DOCKER_DRIVER: overlay2
   DOCKER_TLS_CERTDIR: ""
-  DOCKER_HOST: "unix:///var/run/docker.sock"
+  DOCKER_HOST: tcp://docker:2375
+#  DOCKER_HOST: "unix:///var/run/docker.sock"
   DOCKER_OPTS: "--data-root=/mnt/volume/docker-data"
   DOCKER_MEMORY: "4g"
   DOCKER_CPUS: "2"
@@ -28,7 +29,8 @@ build:
   image: docker:dind
   services:
     - name: docker:dind
-      command: ["--tls=false", "--storage-driver=overlay2", "--mtu=1500", "--data-root=/mnt/volume"]
+#      command: ["--tls=false", "--storage-driver=overlay2", "--mtu=1500", "--data-root=/mnt/volume"]
+      command: [ "--host=tcp://0.0.0.0:2375", "--host=unix:///var/run/docker.sock", "--storage-driver=overlay2", "--mtu=1500", "--data-root=/mnt/volume"]
   before_script:
     - mkdir -p ~/.docker
     - echo $DOCKER_CONFIG_JSON | base64 -d > ~/.docker/config.json