Update list.md

This commit is contained in:
Wang Jie 2018-04-23 15:18:53 +08:00 committed by Joao Fernandes
parent 336f9c1cdb
commit fcc4ddc47b
1 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ When you use the `list` command, use the `<discovery>` argument to specify one o
* `token://<token>`
* `consul://<ip1>/<path>`
* `etcd://<ip1>,<ip2>,<ip2>/<path>`
* `etcd://<ip1>,<ip2>,<ip3>/<path>`
* `file://<path/to/file>`
* `zk://<ip1>,<ip2>/<path>`
* `[nodes://]<iprange>,<iprange>`
@ -48,7 +48,7 @@ Where:
* `ip1`, `ip2`, `ip3` are each the IP address and port numbers of a discovery backend node.
* `path` (optional) is a path to a key-value store on the discovery backend. When you use a single backend to service multiple clusters, you use paths to maintain separate key-value stores for each cluster.
* `path/to/file` is the path to a file that contains a static list of the Swarm managers and nodes that are members the cluster. <!--tbd - can the file contain ipranges?-->
* `path/to/file` is the path to a file that contains a static list of the Swarm managers and nodes that are members of the cluster. <!--tbd - can the file contain ipranges?-->
* `iprange` is an IP address or a range of IP addresses followed by a port number.
For example:
@ -76,4 +76,4 @@ Use `--discovery-opt <value>` to discovery options, such as paths to the TLS fil
--discovery-opt kv.certfile=/path/to/mycert.pem \
--discovery-opt kv.keyfile=/path/to/mykey.pem \
For more information, see [Use TLS with distributed key/value discovery](../discovery.md)
For more information, see [Use TLS with distributed key/value discovery](../discovery.md).