summaryrefslogtreecommitdiff
path: root/docs/reference/commandline/swarm_init.md
diff options
context:
space:
mode:
authorMisty Stanley-Jones <misty@apache.org>2017-04-03 16:54:34 -0700
committerGitHub <noreply@github.com>2017-04-03 16:54:34 -0700
commit473c5701cb66403b0535a5c01845cb0f27fbeb47 (patch)
tree9a40326ad4b426655abca7377dc30da003847d4d /docs/reference/commandline/swarm_init.md
parentce07fb6b0f1b8765b92022e45f96bd4349812e06 (diff)
parent71e6babfa2598669218177b5b429e873b7f35e8f (diff)
downloaddocker-1.13.x.tar.gz
Merge pull request #32332 from mstanleyjones/1.13.x1.13.x
Cherry-pick command-line ref improvements
Diffstat (limited to 'docs/reference/commandline/swarm_init.md')
-rw-r--r--docs/reference/commandline/swarm_init.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/reference/commandline/swarm_init.md b/docs/reference/commandline/swarm_init.md
index 44afc27476..8cba118ff2 100644
--- a/docs/reference/commandline/swarm_init.md
+++ b/docs/reference/commandline/swarm_init.md
@@ -34,9 +34,12 @@ Options:
--task-history-limit int Task history retention limit (default 5)
```
+## Description
+
Initialize a swarm. The docker engine targeted by this command becomes a manager
in the newly created single-node swarm.
+## Examples
```bash
$ docker swarm init --advertise-addr 192.168.99.121
@@ -133,7 +136,7 @@ Snapshots compact the Raft log and allow for more efficient transfer of the
state to new managers. However, there is a performance cost to taking snapshots
frequently.
-## Related information
+## Related commands
* [swarm join](swarm_join.md)
* [swarm leave](swarm_leave.md)