From 3b2396388622e1ac7bfae282f7135159525ec566 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 --- discovery/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/discovery/README.md b/discovery/README.md index 78173c8..39777c2 100644 --- a/discovery/README.md +++ b/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://,/ ```