github.com/AliyunContainerService/cli@v0.0.0-20181009023821-814ced4b30d0/docs/reference/commandline/swarm.md (about) 1 --- 2 title: "swarm" 3 description: "The swarm command description and usage" 4 keywords: "swarm" 5 --- 6 7 <!-- This file is maintained within the docker/cli GitHub 8 repository at https://github.com/docker/cli/. Make all 9 pull requests against that repo. If you see this file in 10 another repository, consider it read-only there, as it will 11 periodically be overwritten by the definitive file. Pull 12 requests which include edits to this file in other repositories 13 will be rejected. 14 --> 15 16 # swarm 17 18 ```markdown 19 Usage: docker swarm COMMAND 20 21 Manage Swarm 22 23 Options: 24 --help Print usage 25 26 Commands: 27 ca Manage root CA 28 init Initialize a swarm 29 join Join a swarm as a node and/or manager 30 join-token Manage join tokens 31 leave Leave the swarm 32 unlock Unlock swarm 33 unlock-key Manage the unlock key 34 update Update the swarm 35 36 Run 'docker swarm COMMAND --help' for more information on a command. 37 ``` 38 39 ## Description 40 41 Manage the swarm.