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://,/ ```