Docs: add tip for Kubernetes executor using dind
This commit is contained in:
parent
3b4d7b4268
commit
0831efaeed
|
@ -142,9 +142,12 @@ In order to do that, follow the steps:
|
||||||
# The 'docker' hostname is the alias of the service container as described at
|
# The 'docker' hostname is the alias of the service container as described at
|
||||||
# https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#accessing-the-services
|
# https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#accessing-the-services
|
||||||
#
|
#
|
||||||
# Note that if you're using Kubernetes executor, the variable should be set to
|
# Note that if you're using the Kubernetes executor, the variable should be set to
|
||||||
# tcp://localhost:2375 because of how Kubernetes executor connects services
|
# tcp://localhost:2375/ because of how the Kubernetes executor connects services
|
||||||
# to the job container
|
# to the job container
|
||||||
|
# DOCKER_HOST: tcp://localhost:2375/
|
||||||
|
#
|
||||||
|
# For non-Kubernetes executors, we use tcp://docker:2375/
|
||||||
DOCKER_HOST: tcp://docker: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.
|
||||||
|
|
Loading…
Reference in New Issue