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?
As mentioned in "Node Discovery", make sure your docker daemon is launched with the
--cluster-advertise
option specifies thehost:port
orinterface: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
)