This document will explain docker UCP for Enterprise grade cluster management
What is Docker UCP
Docker Universal Control Plane (UCP) is the enterprise-grade cluster management solution from Docker. You install it on-premises or in your virtual private cloud, and it helps you manage your Docker swarm and applications through a single interface.
Universal Control Plane is a containerized application that runs on Docker Enterprise Edition and extends its functionality to make it easier to deploy, configure, and monitor your applications at scale.
UCP also secures Docker with role-based access control so that only authorized users can make changes and deploy applications to your Docker cluster.
For more info , refer:-
Installation of Docker UCP
Please note your private IP in case of cloud and you need to provide admin password
[user@debasiseric1 ~]$ docker container run --rm -it --name ucp -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:2.2.4 install --host-address 172.31.96.15 --interactive
Unable to find image ‘docker/ucp:2.2.4’ locally
2.2.4: Pulling from docker/ucp
b56ae66c2937: Pull complete
68de5ce90bd1: Pull complete
d2de1fff8042: Pull complete
Status: Downloaded newer image for docker/ucp:2.2.4
INFO Verifying your system is compatible with UCP 2.2.4 (168ec746e)
INFO Your engine version 18.03.0-ce, build 0520e24 (3.10.0-693.21.1.el7.x86_64) is compatible
WARN Your system does not have enough memory. UCP suggests a minimum of 2.00 GB, but you only have 1.88 GB. You may have unexpected errors.
WARN Your system uses devicemapper. We can not accurately detect available storage space. Please make sure you have at least 3.00 GB available in /var/lib/docker
Admin Username: admin
invalid: Admin Password – must be at least 8 characters
Confirm Admin Password:
INFO Pulling required images… (this may take a while)
INFO Pulling docker/ucp-swarm:2.2.4
INFO Pulling docker/ucp-etcd:2.2.4
INFO Pulling docker/ucp-auth-store:2.2.4
INFO Pulling docker/ucp-compose:2.2.4
INFO Pulling docker/ucp-agent:2.2.4
INFO Pulling docker/ucp-cfssl:2.2.4
INFO Pulling docker/ucp-auth:2.2.4
INFO Pulling docker/ucp-metrics:2.2.4
INFO Pulling docker/ucp-hrm:2.2.4
INFO Pulling docker/ucp-controller:2.2.4
INFO Pulling docker/ucp-dsinfo:2.2.4
We detected the following hostnames/IP addresses for this system [debasiseric1.mylabserver.com 127.0.0.1 172.17.0.1 172.31.96.15]
You may enter additional aliases (SANs) now or press enter to proceed with the above list.
Additional aliases: ucp.example.com
INFO Establishing mutual Cluster Root CA with Swarm
INFO Installing UCP with host address 172.31.96.15 – If this is incorrect, please specify an alternative address with the ‘–host-address’ flag
INFO Generating UCP Client Root CA
INFO Deploying UCP Service
INFO Installation completed on debasiseric1.mylabserver.com (node qs8cyp1whprtfqikran65p1pj)
INFO Installation completed on debasiseric2.mylabserver.com (node rsux1r0yrm5uageho5wycrilk)
INFO UCP Instance ID: ykxn4szm49ny348z3z8ws4xpp
INFO UCP Server SSL: SHA-256 Fingerprint=62:9F:FB:1B:97:5C:2F:8E:6E:8A:F1:90:E7:18:0B:C6:EA:76:36:A4:A6:22:57:30:54:40:F7:2F:61:7F:29:0C
INFO Login to UCP at https://172.31.96.15:443
INFO Username: admin
INFO Password: (your admin password)
Login to docker UCP console now
Please login with admin user and password
Now you can get dash board
License Docker UCP now
Now that UCP is installed, you need to license it.
- Go to the Docker Store and buy a Docker EE subscription, or get a free trial license.
- In your browser, navigate to the UCP web UI, log in with your administrator credentials and upload your license. Navigate to the Admin Settings page and in the left pane, click License.