Signed-off-by: Alexandre Beslic <abronan@docker.com>
| ... | ... |
@@ -13,29 +13,29 @@ Docker comes with multiple Discovery backends. |
| 13 | 13 |
### Using etcd |
| 14 | 14 |
|
| 15 | 15 |
Point your Docker Engine instances to a common etcd instance. You can specify |
| 16 |
-the address Docker uses to advertise the node using the `--discovery-address` |
|
| 16 |
+the address Docker uses to advertise the node using the `--cluster-advertise` |
|
| 17 | 17 |
flag. |
| 18 | 18 |
|
| 19 | 19 |
```bash |
| 20 |
-$ docker daemon -H=<node_ip:2376> --discovery-address=<node_ip:2376> --discovery-backend etcd://<etcd_ip>/<path> |
|
| 20 |
+$ docker daemon -H=<node_ip:2376> --cluster-advertise=<node_ip:2376> --cluster-store etcd://<etcd_ip1>,<etcd_ip2>/<path> |
|
| 21 | 21 |
``` |
| 22 | 22 |
|
| 23 | 23 |
### Using consul |
| 24 | 24 |
|
| 25 | 25 |
Point your Docker Engine instances to a common Consul instance. You can specify |
| 26 |
-the address Docker uses to advertise the node using the `--discovery-address` |
|
| 26 |
+the address Docker uses to advertise the node using the `--cluster-advertise` |
|
| 27 | 27 |
flag. |
| 28 | 28 |
|
| 29 | 29 |
```bash |
| 30 |
-$ docker daemon -H=<node_ip:2376> --discovery-address=<node_ip:2376> --discovery-backend consul://<consul_ip>/<path> |
|
| 30 |
+$ docker daemon -H=<node_ip:2376> --cluster-advertise=<node_ip:2376> --cluster-store consul://<consul_ip>/<path> |
|
| 31 | 31 |
``` |
| 32 | 32 |
|
| 33 | 33 |
### Using zookeeper |
| 34 | 34 |
|
| 35 | 35 |
Point your Docker Engine instances to a common Zookeeper instance. You can specify |
| 36 |
-the address Docker uses to advertise the node using the `--discovery-address` |
|
| 36 |
+the address Docker uses to advertise the node using the `--cluster-advertise` |
|
| 37 | 37 |
flag. |
| 38 | 38 |
|
| 39 | 39 |
```bash |
| 40 |
-$ docker daemon -H=<node_ip:2376> --discovery-address=<node_ip:2376> --discovery-backend zk://<zk_addr1>,<zk_addr2>>/<path> |
|
| 40 |
+$ docker daemon -H=<node_ip:2376> --cluster-advertise=<node_ip:2376> --cluster-store zk://<zk_addr1>,<zk_addr2>/<path> |
|
| 41 | 41 |
``` |