I set up a three nodes with Docker 1.12. A Swarm cluster was configured among the three nodes. I installed UCP on the manager node. I tried to make other two nodes join the UCP. But, I got errors as below
INFO[0000] Your engine version 1.12.0, build 8eab29e (3.10.0-327.4.4.el7.x86_64) is compatible
FATA[0000] Detected existing swarm-mode cluster active. This version of UCP does not support running in swarm-mode.
Did you know which version of UCP support running in swarm-node?
Thanks,
John Wang
According to the release notes, the current version of UCP (1.1.2) can run on Docker Engine 1.12, but can’t use the new clustering capabilities you get with docker swam mode.
We know that it would be awesome to be able to deploy UCP in a cluster created with Docker Engine 1.12, so I think you can expect this to be supported in a near future.
Joao,
I read the release notes, https://docs.docker.com/ucp/release_notes/, “Note: UCP 1.1.2 supports Docker Engine 1.12 but doesn’t use the new clustering capabilities provided by the Docker swarm mode. When installing this UCP version on a Docker Engine 1.12, UCP creates a “classic” Docker Swarm 1.2.3 cluster.”. But, I got errors as below
$ docker run --rm -it --name ucp -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:1.1.2 install -i --host-address 192.168.100.10
INFO[0000] Verifying your system is compatible with UCP
INFO[0000] Your engine version 1.12.0, build 8eab29e (3.10.0-327.4.4.el7.x86_64) is compatible
FATA[0000] Detected existing swarm-mode cluster active. This version of UCP does not support running in swarm-mode.
In fact, I can’t install UCP at all. With Docker 1.11, I was able to install UCP 1.1.0 successfully.
Thank you for your reply.
John Wang
Run docker info
, and if you see something like Swarm: active
, this means that the Docker Engine where you’re trying to install UCP is running in swarm mode, which is what is causing the issue.
You’ll need to remove that host from the cluster by running docker swarm leave
, and then try installing UCP again.
I downgraded UCP to 1.1.0 and I was able to install it with Docker 1.12 running in a swarm mode.
$ docker run --rm -it --name ucp -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:1.1.0 install -i --host-address 192.168.100.10
Thanks,
John Wang
1 Like