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