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
No related branches found
No related tags found
No related merge requests found
Pipeline #1273 failed
......@@ -11,7 +11,7 @@ variables:
# Note that if you're using Kubernetes executor, the variable should be set to
# tcp://localhost:2375 because of how Kubernetes executor connects services
# 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
# improved performance.
DOCKER_DRIVER: overlay2
......@@ -20,7 +20,8 @@ variables:
services:
- name: docker:dind
entrypoint: ["dockerd"]
entrypoint: ["env", "-u", "DOCKER_HOST"]
command: ["dockerd"]
stages:
- base
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment