mirror of https://github.com/docker/docs.git
Fix a markdown rendering issue
The first snippet for “Create a docker service with specific hostname” is not properly rendered in the official docs: https://docs.docker.com/engine/reference/commandline/service_create/#/create-a-docker-service-with-specific-hostname---hostname
This commit is contained in:
parent
58ad6a7119
commit
3e713f6359
|
@ -128,6 +128,7 @@ $ docker service create \
|
||||||
### Create a docker service with specific hostname (--hostname)
|
### Create a docker service with specific hostname (--hostname)
|
||||||
|
|
||||||
This option sets the docker service containers hostname to a specific string. For example:
|
This option sets the docker service containers hostname to a specific string. For example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker service create \
|
$ docker service create \
|
||||||
--name redis \
|
--name redis \
|
||||||
|
|
Loading…
Reference in New Issue