Skip to content
Snippets Groups Projects
Commit 5527c802 authored by Lars Beckers's avatar Lars Beckers
Browse files

Unset DOCKER_HOST for inner docker service

parent 4729e92f
Branches
No related tags found
No related merge requests found
Pipeline #1273 failed
...@@ -11,7 +11,7 @@ variables: ...@@ -11,7 +11,7 @@ variables:
# Note that if you're using Kubernetes executor, the variable should be set to # Note that if you're using Kubernetes executor, the variable should be set to
# tcp://localhost:2375 because of how Kubernetes executor connects services # tcp://localhost:2375 because of how Kubernetes executor connects services
# to the job container # to the job container
DOCKER_HOST: tcp://localhost:2375/ DOCKER_HOST: tcp://docker:2375/
# When using dind, it's wise to use the overlayfs driver for # When using dind, it's wise to use the overlayfs driver for
# improved performance. # improved performance.
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
...@@ -20,7 +20,8 @@ variables: ...@@ -20,7 +20,8 @@ variables:
services: services:
- name: docker:dind - name: docker:dind
entrypoint: ["dockerd"] entrypoint: ["env", "-u", "DOCKER_HOST"]
command: ["dockerd"]
stages: stages:
- base - base
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment