summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan <twilliams@gitlab.com>2019-05-19 18:06:49 -0700
committerTristan <twilliams@gitlab.com>2019-05-19 18:06:49 -0700
commit490f52267de1c374dae1aced52eb0499cfb09552 (patch)
tree4bfc71849ccdf4f2e556daed127ed698aa924423
parentf4a8eac262f902982ca32680cae3a73ab3e8f7a7 (diff)
downloadgitlab-ce-docs-update-docker-executor.tar.gz
Add detail to comment regarding Kubernetes executordocs-update-docker-executor
-rw-r--r--doc/ci/docker/using_docker_build.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/ci/docker/using_docker_build.md b/doc/ci/docker/using_docker_build.md
index 5222cc45bc4..dd112dadc40 100644
--- a/doc/ci/docker/using_docker_build.md
+++ b/doc/ci/docker/using_docker_build.md
@@ -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
# 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
- # tcp://localhost:2375 because of how Kubernetes executor connects services
+ # Note that if you're using the Kubernetes executor, the variable should be set to
+ # tcp://localhost:2375/ because of how the Kubernetes executor connects services
# to the job container
+ # DOCKER_HOST: tcp://localhost:2375/
+ #
+ # For non-Kubernetes executors, we use tcp://docker:2375/
DOCKER_HOST: tcp://docker:2375/
# When using dind, it's wise to use the overlayfs driver for
# improved performance.