Reference notes for study guide v1.5. Each section names the object, and the command you run after you change an engine you are allowed to break.
Study guide v1.5Six domainsReviewed November 15, 2026
How to read these notes: Unmarked items sit on the published DCA study guide. Items tagged Extra are job context that list does not require. New to the exam? Start with the overview. Practice on engines you can reinstall.
Orchestration
Swarm services, stacks, and the short Kubernetes list. Weight 25%.
Managers, workers, and quorum
Only managers store the Raft log, under /var/lib/docker/swarm. A change needs a majority. Three managers tolerate one loss. One survivor of three cannot commit updates. Workers do not vote. Prefer an odd manager count. Tasks that are already running can keep running after quorum is lost. They are not deleted by the loss itself.
Containers, services, and stacks
docker run starts one container. A service is desired state: image, replica count or global mode, networks, mounts, and constraints. docker service scale web=4 or docker service update --replicas 4 web changes an existing service. docker stack deploy -c compose.yml name creates or updates the stack. The file is not watched. Deploy again after you edit it. docker stack rm deletes those services.
Placement and templates
Replicated mode runs the count you set. Global mode runs one task on each node that matches. --constraint node.labels.zone==a will not schedule until a node has that label. Read the reason with docker service ps --no-trunc. Templates such as {{.Node.Hostname}} and {{.Task.Slot}} expand when the task is created. A constraint that matches nothing is not fixed by raising the replica count.
Kubernetes objects on this blueprint
A Pod is the workload. A Deployment owns a ReplicaSet that restores the Pod count. A bare Pod has no such owner. A ConfigMap holds ordinary settings. A Secret holds a sensitive value. Secret data in the API is base64, which is not encryption. Extra The published sample items also ask you to schedule from requests, not limits. Requests are what the scheduler adds up.
Images and registries
Dockerfiles, layers, and push. Weight 20%.
Dockerfile instructions
COPY copies files from the build context. ADD can also extract a local tar and fetch a URL. EXPOSE documents a port and does not publish it. VOLUME declares a mount point. The exec form of ENTRYPOINT or CMD is a JSON array and does not require a shell. The shell form does. Put stable layers, such as dependency installs, before the source you edit most often.
Image commands
docker build -f Containerfile -t app:1 . selects the file and still uses the context path. docker history lists layers. docker image inspect --format prints a field. docker tag adds a local name. docker rmi removes a local image. A digest pins bytes. A tag, including latest, can move.
One layer, on purpose
docker export of a container piped to docker import makes a single-layer image and drops history, ENV, and ENTRYPOINT. docker save and docker load keep the original image. A multi-stage build is different: the final stage contains its own base plus what you COPY --from the builder. Compilers left in the builder are not in that final image.
Registry
The image name must include the registry host before docker push. docker login stores credentials for that host. A denial while HTTPS works is usually login or the name, not a dead daemon. docker search queries Docker Hub, not your private catalog. Put the registry CA in /etc/docker/certs.d/<host>/ca.crt. The official registry image declares VOLUME /var/lib/registry. Without an explicit mount, Docker creates an anonymous volume there. Ordinary docker rm leaves that volume, but a replacement container does not reuse it automatically. Use a named volume, bind mount, or external backend for managed storage.
Installation and configuration
The engine, logging, Swarm membership, and the enterprise control plane. Weight 15%.
Engine and graph driver
On a classic Linux graph-driver installation, overlay2 is broadly compatible; ext4 works and xfs needs ftype=1. Fresh Docker Engine 29 installations instead default to the containerd image store with an overlayfs snapshotter. The v1.5 guide still names devicemapper: direct-lvm was its production layout, but Docker Engine removed that driver in version 25. Learn the legacy term without configuring it on a current host. Windows uses a Windows graph driver such as windowsfilter. systemctl enable docker starts the daemon at boot.
Logging
The usual default driver is json-file. docker logs reads json-file, local, and journald. With remote drivers such as splunk or awslogs, dual logging can cache recent lines locally, so docker logs can still show them. It does not query the remote store; disabling the cache removes that fallback. A broken daemon.json stops dockerd. Read journalctl -u docker. There is no container log until the daemon starts.
Swarm setup and backup
docker swarm init, then docker swarm join-token manager or worker, then docker swarm join on the new node. Back up /var/lib/docker/swarm from a manager. Stop the daemon first if you need a consistent copy. Copying that directory onto a second live manager is not the join procedure.
UCP, DTR, users, and teams
The guide says UCP and DTR. Those products are now Mirantis Kubernetes Engine and Mirantis Secure Registry. HA means an odd set of managers and more than one registry replica. Back up each product with its own backup, not with docker commit of a random container. The Unix docker group is root-equivalent access to the local socket. A UCP team is an identity you bind with a grant. They are not the same list.
Networking
Drivers, publish modes, and the Kubernetes service ports. Weight 15%.
Container Network Model
A sandbox holds the container network namespace. An endpoint joins a network. A driver provides the network, and an IPAM driver assigns addresses. Built-in drivers include bridge, host, none, overlay, and macvlan. A user-defined bridge has embedded DNS at 127.0.0.11. The default bridge does not give you that container-name DNS. host mode has no separate container IP and no -p mapping. none leaves no external interface.
Publish modes
-p 8080:80 maps host port 8080 to container port 80. External clients use the host address, not the overlay IP. Swarm ingress mode is the routing mesh: any node can accept the published port. host mode binds only on the node running the task, and two tasks cannot bind that same host port on one node. The mesh is layer 4. The enterprise HTTP routing mesh is the layer 7 feature that routes by host and path.
Overlay and DNS
Services on one overlay reach each other by service name. That path does not need the published host port. Set upstream DNS with --dns or the dns field in daemon.json when the name is outside the cluster. Swarm ports to keep open are 2377/tcp, 7946/tcp, 7946/udp, and 4789/udp. Closing 4789/udp breaks overlay data even when the application port is open.
Kubernetes services
port is the Service port. targetPort is the Pod port. The protocol defaults to TCP. ClusterIP is a virtual address inside the cluster. A laptop that cannot dial it has not proved the Pod is down. NodePort opens a port on the nodes. This is the Kubernetes network model on the blueprint, not the Docker sandbox and endpoint model.
Security
Trust, Swarm defaults, and UCP grants. Weight 15%.
Signing and scanning
DOCKER_CONTENT_TRUST=1 makes the client require signed tags on push and pull. docker trust sign creates that signature. A registry scan report is a different result. A clean scan does not sign the tag, and a signature does not mean the scanner found nothing. The January 2025 guide names Docker Content Trust, but Docker has scheduled the Docker Hub Notary v1 service to shut down on December 8, 2026. Treat this as a guide objective and use a controlled compatible lab; check current signing guidance for new production workflows.
Engine and Swarm defaults
Namespaces isolate the process view. A default seccomp profile and a capability set reduce what root can do. Without user-namespace remapping, container uid 0 is host uid 0. Swarm issues node certificates and encrypts control-plane traffic. Overlay application encryption is opt-in: docker network create --opt encrypted -d overlay. Secrets mount as files under /run/secrets and are not image layers.
UCP identity
A grant binds a subject to a role on a collection. LDAP can create the user and still leave them unable to change the cluster until a grant exists. Managers run Raft. Workers do not. A client bundle is the certificate package and environment script that points the Docker client at UCP. An extra DNS name on the controllers belongs in the server certificate SAN. A DNS record alone does not rewrite that certificate.
What a socket can do Extra
Anyone in the local docker group can start a container that mounts the host. Treat that group as administrator access. It is not a UCP role and it is not content trust.
Storage and volumes
Layers, volumes, and Kubernetes claims. Weight 10%.
Layers on disk
Image layers are read-only content and the container writable layer is removed with the container. Fresh Engine 29 installations normally keep image content and snapshots under /var/lib/containerd; classic overlay2 installations keep layer data under /var/lib/docker/overlay2. Named and anonymous volumes are separate objects and ordinarily survive docker rm; -v or an original --rm run can remove anonymous volumes. docker image prune cleans unused local images. It does not run DTR garbage collection. Registry cleanup is a registry operation.
Volumes across nodes
The local volume driver keeps files on the node where the task ran. Reschedule the service and the new task sees an empty directory unless the driver is shared, or the constraint keeps the task on the node that has the disk. A bind mount is a host path and has the same one-node limit.
Object storage and block storage
Object storage is an API of blobs and is a common registry backend. Block storage is a disk. A database that needs a filesystem and fsync wants a volume on a disk. An object bucket is not that POSIX disk.
Kubernetes persistent storage
A PersistentVolumeClaim is the request. A StorageClass and a CSI driver can provision a PersistentVolume. The Pod mounts the claim. A Pending claim with no volume and no class is waiting for one of those. Deleting the Pod does not create the disk.
Six checks on a disposable engine
Say what you expect to see before you change the object. Then put the host back.
A service that will not place
Create a replicated service with a node label that no node has.
What to verify:docker service ps reports unsatisfied constraints and the replica count stays unmet. Adding the label, or removing the constraint, lets a task start. Raising the replica count does not.
A tag that moves
Build an image, tag it app:1, then build a different image and move app:1 to the new ID.
What to verify: the tag now points at the second ID. A pull by the first digest still selects the first bytes. latest behaves like any other tag.
A port in two modes
Publish one service in ingress mode and another, on a two-node Swarm, in host mode.
What to verify: the ingress port answers on a node that is not running the task. The host-mode port answers on the node that runs the task. A second host-mode replica does not bind that same port on the same node.
A secret file
Create a Swarm secret and attach it to a service. Then try to find that value in the image history.
What to verify: the task sees a file under /run/secrets. docker history does not show the secret. The value is not an ENV instruction unless you added one.
A volume that stays behind
Mount a named volume, write a file, remove the container, and start another container on a different node with the same volume name and the local driver.
What to verify: the first node still has the file after docker rm. The second node does not see that file. A shared driver, or a constraint back to the first node, is what makes the data follow.
A daemon that will not start
Put a trailing comma in daemon.json and restart the docker unit.
What to verify:journalctl -u docker shows the JSON error. docker logs has no daemon container to read. Removing the comma lets the unit start.
An evidence-first DCA sequence
Start by naming the product you are changing: the local engine, the Swarm, the registry, MKE, or a Kubernetes object. A prune of the laptop does not clean DTR. A Kubernetes claim does not edit the Raft log.
Read the failure before the next flag
If a service is pending, read docker service ps. If a push is denied, read the repository name and confirm docker login for that host. If the daemon is down, read the unit log. If a task moved and the files vanished, look at the volume driver before you rebuild the image.
Verify at the same layer you changed
After a stack deploy, list the services in that stack. After a publish change, connect to the host port from another machine. After content trust, pull the unsigned tag in a shell where the variable is set and confirm the refusal. After a secret update, open /run/secrets in a new task. Keep registry passwords and real customer images off any host you cannot wipe.
Frequently asked questions
Which study guide do these notes follow?
These notes follow Docker Certified Associate study guide v1.5, January 2025. The guide weights orchestration at 25 percent and storage and volumes at 10 percent. Items tagged Extra are engine facts that file does not list as an objective. Mirantis administers the exam.
Do the notes replace the official study guide?
No. Use them with the published study guide and the current Docker Engine documentation. UCP in the guide is Mirantis Kubernetes Engine. DTR in the guide is Mirantis Secure Registry.
Does this page cover CKA?
No. CKA is a separate performance exam. These notes mention Kubernetes only where study guide v1.5 includes Pods, Deployments, ConfigMaps, Secrets, Services, and persistent volumes.
Continue the DCA study path
Use the notes, then test recall with cards and a timed practice set.
Certicab provides general informational, educational, and convenience resources. Learning materials can contain errors or become outdated. Check the current exam guide and official documentation before relying on a technical recommendation. Practice only in environments you own or are authorized to use, and do not share credentials or confidential exam material. Study resources are independent and do not guarantee exam success or imply certification-provider endorsement. Docker is a trademark of Docker, Inc. Mirantis Kubernetes Engine and Mirantis Secure Registry are associated with Mirantis. Certicab is not affiliated with, endorsed by, or sponsored by Docker, Inc. or Mirantis.