summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-04-25 19:29:02 +0000
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-04-25 19:29:02 +0000
commitad46466cb9999c3cb2c8dfad0a5608839385f88d (patch)
tree7652a1299f49ee94b07e1e4fa4bdef655a46c8b1 /doc
parent19fc0ea77678c6811fe1b50fc4f8de58a0ab1ac3 (diff)
parent9bd0f46a85c9f642722000de8317607c4ed567d4 (diff)
downloadgitlab-ce-ad46466cb9999c3cb2c8dfad0a5608839385f88d.tar.gz
Merge branch 'fix/ci-docker-images-documentation' into 'master'
Replace '-n' with '--name' in docker related documentation `-n` for `docker run` is outdated. We should use `--name` instead. This MR fixes the example in documentation. Fixes #15174 See merge request !3908
Diffstat (limited to 'doc')
-rw-r--r--doc/ci/docker/using_docker_images.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ci/docker/using_docker_images.md b/doc/ci/docker/using_docker_images.md
index bd748f1b986..84212fb3c61 100644
--- a/doc/ci/docker/using_docker_images.md
+++ b/doc/ci/docker/using_docker_images.md
@@ -239,8 +239,8 @@ is specific to your project.
Then create some service containers:
```
-docker run -d -n service-mysql mysql:latest
-docker run -d -n service-postgres postgres:latest
+docker run -d --name service-mysql mysql:latest
+docker run -d --name service-postgres postgres:latest
```
This will create two service containers, named `service-mysql` and