Browse Source

Fix markup for markdown table

Our tooling used to convert Markdown to HTML doesn't
properly handle '|' symbols embeded in code blocks
inside a table.

Changed the table to a plain HTML table as a workaround.

Also fixed indentation levels of two code examples.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 9 years ago
parent
commit
bfdd94b0a8
1 changed files with 20 additions and 6 deletions
  1. 20 6
      docs/userguide/networking/dockernetworks.md

+ 20 - 6
docs/userguide/networking/dockernetworks.md

@@ -420,14 +420,28 @@ form them into a swarm which includes a discovery service as well.
 To create an overlay network, you configure options on  the `daemon` on each
 To create an overlay network, you configure options on  the `daemon` on each
 Docker Engine for use with `overlay` network. There are two options to set:
 Docker Engine for use with `overlay` network. There are two options to set:
 
 
-| Option                                        | Description                                                 |
-|-----------------------------------------------|-------------------------------------------------------------|
-| `--cluster-store=PROVIDER://URL`              | Describes the location of the KV service.                   |
-| `--cluster-advertise=HOST_IP|HOST_IFACE:PORT` | The IP address or interface of the HOST used for clustering |
+<table>
+    <thead>
+    <tr>
+        <th>Option</th>
+        <th>Description</th>
+    </tr>
+    </thead>
+    <tbody>
+    <tr>
+        <td><pre>--cluster-store=PROVIDER://URL</pre></td>
+        <td>Describes the location of the KV service.</td>
+    </tr>
+    <tr>
+        <td><pre>--cluster-advertise=HOST_IP|HOST_IFACE:PORT</pre></td>
+        <td>The IP address or interface of the HOST used for clustering.</td>
+    </tr>
+    </tbody>
+</table>
 
 
 Create an `overlay` network on one of the machines in the Swarm.
 Create an `overlay` network on one of the machines in the Swarm.
 
 
-        $ docker network create --driver overlay my-multi-host-network
+    $ docker network create --driver overlay my-multi-host-network
 
 
 This results in a single network spanning multiple hosts. An `overlay` network
 This results in a single network spanning multiple hosts. An `overlay` network
 provides complete isolation for the containers.
 provides complete isolation for the containers.
@@ -436,7 +450,7 @@ provides complete isolation for the containers.
 
 
 Then, on each host, launch containers making sure to specify the network name.
 Then, on each host, launch containers making sure to specify the network name.
 
 
-        $ docker run -itd --net=my-multi-host-network busybox
+    $ docker run -itd --net=my-multi-host-network busybox
 
 
 Once connected, each container has access to all the containers in the network
 Once connected, each container has access to all the containers in the network
 regardless of which Docker host the container was launched on.
 regardless of which Docker host the container was launched on.