My Docker notebook
Universal Control Plane (UCP) 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.
Once Universal Control Plane (UCP) instance is deployed, developers/devops no longer interact with Docker Engine directly, but interact with UCP instead.
UCP also secures Docker with Role Based Access Control (RBAC) so that only authorized users can make changes and deploy applications to your Docker cluster.
See docker-security.md.
Since UCP exposes the standard Docker API, you can use tools like the Docker CLI client and Docker Compose.
UCP leverages the clustering and orchestration functionality provided by Docker.
(Image source: docs.docker.com)
When you deploy UCP, it starts running a globally scheduled service called ucp-agent
.
If the node is a:
ucp-agent
service automatically starts serving all UCP components, including the UCP web UI and data
stores used by UCP. The ucp-agent
accomplishes this by deploying several containers on the node.ucp-agent
service starts serving a proxy service that ensures only authorized users and other UCP
services can run Docker commands in that node.ucp-agent
deploys a subset of containers on worker nodes.What is the endpoint that we can use to check the health of a single UCP manager node?
https:///_ping
https://<ucp-manager-url>/_ping
There are two ways to interact with UCP: the web UI or the CLI.
Where is the option to integrate Docker Enterprise with LDAP? UCP
A Kubernetes pod is a group of containers that are deployed together on the same host.
Every pod in Kubernetes has a pause container, which is an “empty” container that bootstraps the pod to establish all of the namespaces.
Pause containers hold the cgroups
, reservations
, and namespaces
of a pod before its individual containers
are created.
The pause container’s image is always present, so the allocation of the pod’s resources is instantaneous.
Pause containers are hidden but you can see them by running
docker ps -a | grep -I pause
8c9707885bf6 dockereng/ucp-pause:3.0.0-6d332d3 "/pause" 47 hours ago Up 47 hours k8s_POD_calico-kube-controllers-559f6948dc-5c84l_kube-system_d00e5130-1bf4-11e8-b426-0242ac110011_0
258da23abbf5 dockereng/ucp-pause:3.0.0-6d332d3 "/pause" 47 hours ago Up 47 hours k8s_POD_kube-dns-6d46d84946-tqpzr_kube-system_d63acec6-1bf4-11e8-b426-0242ac110011_0
2e27b5d31a06 dockereng/ucp-pause:3.0.0-6d332d3 "/pause" 47 hours ago Up 47 hours k8s_POD_compose-698cf787f9-dxs29_kube-system_d5866b3c-1bf4-11e8-b426-0242ac110011_0
5d96dff73458 dockereng/ucp-pause:3.0.0-6d332d3 "/pause" 47 hours ago Up 47 hours
See docker-security.md.
See docker-security.md.