diff --git a/docs/reference/commandline/service_create.md b/docs/reference/commandline/service_create.md
index 26be9244a7..8380e831e8 100644
--- a/docs/reference/commandline/service_create.md
+++ b/docs/reference/commandline/service_create.md
@@ -766,18 +766,14 @@ The options you can specify are:
- published and target port |
- |
- |
- |
-
-
- protocol |
+ published and target port |
--publish 8080:80 |
--publish published=8080,target=80 |
- The port to publish the service to on the routing mesh or directly on
- the node, and the target port on the container.
+ The target port within the container and the port to map it to on the
+ nodes, using the routing mesh (ingress) or host-level networking.
+ More options are available, later in this table. The key-value syntax is
+ preferred, because it is somewhat self-documenting.
|
@@ -785,8 +781,8 @@ The options you can specify are:
Not possible to set using short syntax. |
--publish published=8080,target=80,mode=host |
- The mode to use for binding the port, either `ingress` or `host`. Defaults
- to `ingress` to use the routing mesh.
+ The mode to use for binding the port, either ingress or host.
+ Defaults to ingress to use the routing mesh.
|
@@ -794,13 +790,14 @@ The options you can specify are:
--publish 8080:80/tcp |
--publish published=8080,target=80,protocol=tcp |
- The protocol to use, either `tcp` or `udp`. Defaults to `tcp`. To bind a
- port for both protocols, specify the `-p` or `--publish` flag twice.
+ The protocol to use, either tcp or udp Defaults to
+ tcp. To bind a port for both protocols, specify the -p or
+ --publish flag twice.
|
-When you publish a service port using `ingres` mode, the swarm routing mesh
+When you publish a service port using `ingress` mode, the swarm routing mesh
makes the service accessible at the published port on every node regardless if
there is a task for the service running on the node. If you use `host` mode,
the port is only bound on nodes where the service is running, and a given port
@@ -904,9 +901,9 @@ x3ti0erg11rjpg64m75kej2mz-hosttempl
### Specify isolation mode (Windows)
-By default, tasks scheduled on Windows nodes are run using the default isolation mode
-configured for this particular node. To force a specific isolation mode, you can use
-the `--isolation` flag:
+By default, tasks scheduled on Windows nodes are run using the default isolation mode
+configured for this particular node. To force a specific isolation mode, you can use
+the `--isolation` flag:
```bash
$ docker service create --name myservice --isolation=process microsoft/nanoserver