How to try Docker EE UCP for free? | by Engy Fouda | Towards Data Science

Everyone is moving to microservices and dockerizing monolithic applications. Newbies to docker who would like to familiarize themselves with Docker can use the Docker Playground. It is free!
I always recommend my students use Google Chrome as the browser. Usually, it won’t ask for entering your Docker Hub ID and password. It will show you the START button, as in Figure 1. Click on it.
Docker Enterprise suite consists of three components:1. Docker Enterprise Engine2. UCP (Universal Control Plane)3. DTR (Docker Trusted Registry)
Note that there are two Docker engines: The Docker Community Edition (CE) and the Docker Enterprise Edition (EE).
The Docker CE is only for developing and testing but never for production. However, it is for free.Docker EE is the edition that you use for production, where you can initialize Swarm or Kubernetes. It is not for free. However, you can try it for one month for free.
The Docker CE is only for developing and testing but never for production. However, it is for free.
Docker EE is the edition that you use for production, where you can initialize Swarm or Kubernetes. It is not for free. However, you can try it for one month for free.
The Docker Playground helps you to install and try the UCP for free. However, this playing lab is limited to less than 3 GB in memory and expires after about 4 hours.
Now, follow the steps to install the UCP on the Docker Playground.
Create a node by clicking once on “Add New Instance” on the left, as in Figure 2.
Initialize the Docker Swarm using docker swarm init command. Get the IP address of the node from the node name or at the top of the page.
docker swarm init —-advertise-addr <Node IP>
Docker engine will generate a long token if you want to add worker nodes to your cluster.
Create a container from docker/ucp:<tag number> image to install the UCP. the command will be as follows:
docker container run --rm -it --name ucp -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:2.2.9 install  --host-address <node IP> --swarm-port 2400 --interactive --force-insecure-tcp
Here we are crafting a container from thedocker/ucp:2.2.9 image. The --rm for the housekeeping. We are telling docker to auto delete this container when it stops.the -it to make an interactive terminal.The --name to name this container as ucp instead of the generated name of adjective_noun that docker does by default.The -v to share volume between the host and this container.The install is the command to install the UCP.The --host-adress to set the host/node address of the swarm leader.The--swarm-port to set the port to 2400.The--interactive flag to make the container interactive.The last flag of --force-insecure-tcp is to avoid the error of:
The Docker port is externally accessible on this node, accepting connections on port 2375. This node is insecure.
Some other tags of the docker/ucp image does not use the --force-insecure-tcp . Instead, you can use the--ucp-insecure-tls .
It will halt waiting for you to enter your admin username and password. Again, it will halt one more time to enter the Additional Aliases. Just press enter so docker can continue installing since we are not having any other nodes in the cluster.
When finished installing, some links will be displayed beside the node IP address.
You can access the UCP from port 443. However, if you click on it, it will download a file locally. To fix this, right-click on the 443 port link and click on COPY LINK ADDRESS. Open a new browser tab, paste the link. Change the http:// to https:// and click enter.
Suppose you didn’t get a link to 443 port, no problem. Copy the SSH address.
Open a new browser tab. Replace the ssh with https:// . Replace the @ with a . in the address. Click ENTER.
I t will give you an error. Click on ADVANCED at the bottom, a link will be displayed to proceed. Click on the link.
The UCP Login will be displayed. Enter your admin username and password.
It will ask you to upload a license. You can get a one-month trial license from your account at Docker Hub:
https://hub.docker.com/editions/enterprise/docker-ee-trial
Also, you can skip for later. The UCP will look like the following:
You can upload it later from, on the left menu, click ADMIN → ADMIN SETTINGS → LICENSE.
Enjoy your trial!