summaryrefslogtreecommitdiff
path: root/doc/ci/docker
diff options
context:
space:
mode:
authorszymon <s.marcinkowski@globkurier.pl>2017-03-14 14:03:28 +0000
committerRémy Coutable <remy@rymai.me>2017-03-14 14:03:28 +0000
commit1cba12d35f0e2bad8b2903a58c883437a701fee4 (patch)
tree1d0b654e5d1f2fd1205505e6f442c96c86b2ff6a /doc/ci/docker
parent181c2582fbba4cdb276709b3f4920fab18e1e962 (diff)
downloadgitlab-ce-1cba12d35f0e2bad8b2903a58c883437a701fee4.tar.gz
Update using_docker_images.md
Diffstat (limited to 'doc/ci/docker')
-rw-r--r--doc/ci/docker/using_docker_images.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/ci/docker/using_docker_images.md b/doc/ci/docker/using_docker_images.md
index 00787323b6b..f025a7e3496 100644
--- a/doc/ci/docker/using_docker_images.md
+++ b/doc/ci/docker/using_docker_images.md
@@ -170,13 +170,17 @@ services:
```
When the job is run, `tutum/wordpress` will be started and you will have
-access to it from your build container under the hostname `tutum__wordpress`.
+access to it from your build container under the hostnames `tutum-wordpress`
+(requires GitLab Runner v1.1.0 or newer) and `tutum__wordpress`.
-The alias hostname for the service is made from the image name following these
+*Note: hostname with underscores is not RFC valid and may cause problems in 3rd party applications.*
+
+The alias hostnames for the service are made from the image name following these
rules:
1. Everything after `:` is stripped
-2. Slash (`/`) is replaced with double underscores (`__`)
+2. Slash (`/`) is replaced with double underscores (`__`) - primary alias
+3. Slash (`/`) is replaced with dash (`-`) - secondary alias, requires GitLab Runner v1.1.0 or newer
## Configuring services