github.com/brahmaroutu/docker@v1.2.1-0.20160809185609-eb28dde01f16/pkg/discovery/README.md (about) 1 --- 2 page_title: Docker discovery 3 page_description: discovery 4 page_keywords: docker, clustering, discovery 5 --- 6 7 # Discovery 8 9 Docker comes with multiple Discovery backends. 10 11 ## Backends 12 13 ### Using etcd 14 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 `--cluster-advertise` 17 flag. 18 19 ```bash 20 $ docker daemon -H=<node_ip:2376> --cluster-advertise=<node_ip:2376> --cluster-store etcd://<etcd_ip1>,<etcd_ip2>/<path> 21 ``` 22 23 ### Using consul 24 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 `--cluster-advertise` 27 flag. 28 29 ```bash 30 $ docker daemon -H=<node_ip:2376> --cluster-advertise=<node_ip:2376> --cluster-store consul://<consul_ip>/<path> 31 ``` 32 33 ### Using zookeeper 34 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 `--cluster-advertise` 37 flag. 38 39 ```bash 40 $ docker daemon -H=<node_ip:2376> --cluster-advertise=<node_ip:2376> --cluster-store zk://<zk_addr1>,<zk_addr2>/<path> 41 ```