Unable to set up Docker UCP cluster

561 views Asked by At

I am trying to install UCP master using the below command

docker run --rm -i -v /var/run/docker.sock:/var/run/docker.sock --name ucp docker/ucp:1.0.3 install

However, I am getting the below error

ERRO[0029] Failed to set up initial UCP configuration
FATA[0029] client: etcd cluster is unavailable or misconfigured

Why do I see that error?

1

There are 1 answers

6
VonC On

As mentioned in "Node Discovery", make sure your docker daemon is launched with the --cluster-advertise option specifies the host:port or interface:port combination that this particular daemon instance should use when advertising itself to the cluster.

If not, you would see that error message (which comes from coreos/etcd/client/client.go)