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`):
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. | @@ -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.