2017-03-27 05:10:58 -04:00
|
|
|
---
|
|
|
|
title: "swarm"
|
|
|
|
description: "The swarm command description and usage"
|
|
|
|
keywords: "swarm"
|
|
|
|
---
|
|
|
|
|
2017-10-04 13:03:55 -04:00
|
|
|
<!-- This file is maintained within the docker/cli GitHub
|
2017-07-28 13:28:23 -04:00
|
|
|
repository at https://github.com/docker/cli/. Make all
|
2017-03-27 05:10:58 -04:00
|
|
|
pull requests against that repo. If you see this file in
|
|
|
|
another repository, consider it read-only there, as it will
|
|
|
|
periodically be overwritten by the definitive file. Pull
|
|
|
|
requests which include edits to this file in other repositories
|
|
|
|
will be rejected.
|
|
|
|
-->
|
|
|
|
|
|
|
|
# swarm
|
|
|
|
|
|
|
|
```markdown
|
|
|
|
Usage: docker swarm COMMAND
|
|
|
|
|
|
|
|
Manage Swarm
|
|
|
|
|
|
|
|
Options:
|
|
|
|
--help Print usage
|
|
|
|
|
|
|
|
Commands:
|
2017-05-10 18:34:56 -04:00
|
|
|
ca Manage root CA
|
2017-03-27 05:10:58 -04:00
|
|
|
init Initialize a swarm
|
|
|
|
join Join a swarm as a node and/or manager
|
|
|
|
join-token Manage join tokens
|
|
|
|
leave Leave the swarm
|
|
|
|
unlock Unlock swarm
|
|
|
|
unlock-key Manage the unlock key
|
|
|
|
update Update the swarm
|
|
|
|
|
|
|
|
Run 'docker swarm COMMAND --help' for more information on a command.
|
|
|
|
```
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
|
|
Manage the swarm.
|