Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
b1221669
Commit
b1221669
authored
May 26, 2017
by
Matej
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Service hostname also include registry name, when using non Docker Hub registry.
parent
ce6bc061
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
doc/ci/docker/using_docker_images.md
doc/ci/docker/using_docker_images.md
+12
-0
No files found.
doc/ci/docker/using_docker_images.md
View file @
b1221669
...
...
@@ -173,6 +173,18 @@ When the job is run, `tutum/wordpress` will be started and you will have
access to it from your build container under the hostnames
`tutum-wordpress`
(requires GitLab Runner v1.1.0 or newer) and
`tutum__wordpress`
.
When using private registry, image name usually also include hostname and port
of the registry.
```
yaml
services
:
-
docker.example.com:5000/wordpress:latest
```
In this case, hostname will also include registry's hostname. Service will be
available under hostnames
`docker.example.com-wordpress`
(requires GitLab Runner v1.1.0 or newer)
and
`docker.example.com__wordpress`
.
*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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment