From da294050f3196145c0fc0ec18823232a8770e7f8 Mon Sep 17 00:00:00 2001 From: Alexandre Beslic Date: Sun, 27 Sep 2015 13:40:42 -0700 Subject: [PATCH] fix discovery package documentation with the right --cluster* flags Signed-off-by: Alexandre Beslic --- pkg/discovery/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/discovery/README.md b/pkg/discovery/README.md index 78173c87d9..39777c2171 100644 --- a/pkg/discovery/README.md +++ b/pkg/discovery/README.md @@ -13,29 +13,29 @@ Docker comes with multiple Discovery backends. ### Using etcd Point your Docker Engine instances to a common etcd instance. You can specify -the address Docker uses to advertise the node using the `--discovery-address` +the address Docker uses to advertise the node using the `--cluster-advertise` flag. ```bash -$ docker daemon -H= --discovery-address= --discovery-backend etcd:/// +$ docker daemon -H= --cluster-advertise= --cluster-store etcd://,/ ``` ### Using consul Point your Docker Engine instances to a common Consul instance. You can specify -the address Docker uses to advertise the node using the `--discovery-address` +the address Docker uses to advertise the node using the `--cluster-advertise` flag. ```bash -$ docker daemon -H= --discovery-address= --discovery-backend consul:/// +$ docker daemon -H= --cluster-advertise= --cluster-store consul:/// ``` ### Using zookeeper Point your Docker Engine instances to a common Zookeeper instance. You can specify -the address Docker uses to advertise the node using the `--discovery-address` +the address Docker uses to advertise the node using the `--cluster-advertise` flag. ```bash -$ docker daemon -H= --discovery-address= --discovery-backend zk://,>/ +$ docker daemon -H= --cluster-advertise= --cluster-store zk://,/ ```