Fix service_create markdown

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2017-09-19 16:29:52 +02:00
parent 139fcd3ee9
commit 01ef9acd31
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 5 additions and 5 deletions

View File

@ -159,7 +159,7 @@ $ docker service create --name redis --secret secret.json redis:3.0.6
4cdgfyky7ozwh3htjfw0d12qv
```
Create a service specifying the secret, target, user/group ID and mode:
Create a service specifying the secret, target, user/group ID, and mode:
```bash
$ docker service create --name redis \
@ -398,7 +398,7 @@ For more information about bind propagation, see the
#### Options for Named Volumes
The following options can only be used for named volumes (`type=volume`);
The following options can only be used for named volumes (`type=volume`):
<table>
@ -419,7 +419,7 @@ The following options can only be used for named volumes (`type=volume`);
<td>
One or more custom metadata ("labels") to apply to the volume upon
creation. For example,
`volume-label=mylabel=hello-world,my-other-label=hello-mars`. For more
<tt>volume-label=mylabel=hello-world,my-other-label=hello-mars</tt>. For more
information about labels, refer to
<a href="https://docs.docker.com/engine/userguide/labels-custom-metadata/">apply custom metadata</a>.
</td>
@ -430,8 +430,8 @@ The following options can only be used for named volumes (`type=volume`);
By default, if you attach an empty volume to a container, and files or
directories already existed at the mount-path in the container (<tt>dst</tt>),
the Engine copies those files and directories into the volume, allowing
the host to access them. Set `volume-nocopy` to disables copying files
from the container's filesystem to the volume and mount the empty volume.
the host to access them. Set <tt>volume-nocopy</tt> to disable copying files
from the container's filesystem to the volume and mount the empty volume.<br />
A value is optional: