![]() |
8 tahun lalu | |
---|---|---|
.. | ||
file | 8 tahun lalu | |
kv | 8 tahun lalu | |
memory | 9 tahun lalu | |
nodes | 9 tahun lalu | |
README.md | 8 tahun lalu | |
backends.go | 8 tahun lalu | |
discovery.go | 9 tahun lalu | |
discovery_test.go | 9 tahun lalu | |
entry.go | 9 tahun lalu | |
generator.go | 9 tahun lalu | |
generator_test.go | 9 tahun lalu |
page_title: Docker discovery page_description: discovery
Docker comes with multiple Discovery backends.
Point your Docker Engine instances to a common etcd instance. You can specify
the address Docker uses to advertise the node using the --cluster-advertise
flag.
$ dockerd -H=<node_ip:2376> --cluster-advertise=<node_ip:2376> --cluster-store etcd://<etcd_ip1>,<etcd_ip2>/<path>
Point your Docker Engine instances to a common Consul instance. You can specify
the address Docker uses to advertise the node using the --cluster-advertise
flag.
$ dockerd -H=<node_ip:2376> --cluster-advertise=<node_ip:2376> --cluster-store consul://<consul_ip>/<path>
Point your Docker Engine instances to a common Zookeeper instance. You can specify
the address Docker uses to advertise the node using the --cluster-advertise
flag.
$ dockerd -H=<node_ip:2376> --cluster-advertise=<node_ip:2376> --cluster-store zk://<zk_addr1>,<zk_addr2>/<path>