mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #29309 from ohmk/fix-description-of-docker-swarm-command
Fix description of docker swarm command
This commit is contained in:
commit
cc85b14d9c
2 changed files with 7 additions and 7 deletions
|
@ -21,10 +21,10 @@ Usage: docker swarm join [OPTIONS] HOST:PORT
|
|||
Join a swarm as a node and/or manager
|
||||
|
||||
Options:
|
||||
--advertise-addr value Advertised address (format: <ip|interface>[:port])
|
||||
--help Print usage
|
||||
--listen-addr value Listen address (format: <ip|interface>[:port)
|
||||
--token string Token for entry into the swarm
|
||||
--advertise-addr string Advertised address (format: <ip|interface>[:port])
|
||||
--help Print usage
|
||||
--listen-addr node-addr Listen address (format: <ip|interface>[:port]) (default 0.0.0.0:2377)
|
||||
--token string Token for entry into the swarm
|
||||
```
|
||||
|
||||
Join a node to a swarm. The node joins as a manager node or worker node based upon the token you
|
||||
|
|
|
@ -24,10 +24,10 @@ Options:
|
|||
--autolock Change manager autolocking setting (true|false)
|
||||
--cert-expiry duration Validity period for node certificates (ns|us|ms|s|m|h) (default 2160h0m0s)
|
||||
--dispatcher-heartbeat duration Dispatcher heartbeat period (ns|us|ms|s|m|h) (default 5s)
|
||||
--external-ca value Specifications of one or more certificate signing endpoints
|
||||
--external-ca external-ca Specifications of one or more certificate signing endpoints
|
||||
--help Print usage
|
||||
--max-snapshots int Number of additional Raft snapshots to retain
|
||||
--snapshot-interval int Number of log entries between Raft snapshots
|
||||
--max-snapshots uint Number of additional Raft snapshots to retain
|
||||
--snapshot-interval uint Number of log entries between Raft snapshots (default 10000)
|
||||
--task-history-limit int Task history retention limit (default 5)
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue