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