From 01ef9acd314c6b736b4d14479a2edf58e7f0a1ba Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 19 Sep 2017 16:29:52 +0200 Subject: [PATCH] Fix service_create markdown Signed-off-by: Sebastiaan van Stijn --- docs/reference/commandline/service_create.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/reference/commandline/service_create.md b/docs/reference/commandline/service_create.md index d17f99de6a..7171405fc7 100644 --- a/docs/reference/commandline/service_create.md +++ b/docs/reference/commandline/service_create.md @@ -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`): @@ -419,7 +419,7 @@ The following options can only be used for named volumes (`type=volume`); @@ -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 (dst), 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 volume-nocopy to disable copying files + from the container's filesystem to the volume and mount the empty volume.
A value is optional:
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 + volume-label=mylabel=hello-world,my-other-label=hello-mars. For more information about labels, refer to apply custom metadata.