Configure etcd clients to use the Docker host IP and one of the listening ports from above.

etcdctl -C http://192.168.12.50:2379 member list

etcdctl -C http://192.168.12.50:4001 member list

Running a 3 node etcd cluster

Using Docker to setup a multi-node cluster is very similar to the standalone mode configuration.
The main difference being the value used for the -initial-cluster flag, which must contain the peer urls for each etcd member in the cluster.

Although the following commands look very similar, note that -name, -advertise-client-urls and -initial-advertise-peer-urls differ for each cluster member