0
0
Dockerdevops~5 mins

Docker architecture (client, daemon, registry) - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the role of the Docker Client in Docker architecture?
The Docker Client is the user interface that accepts commands from users and sends them to the Docker Daemon to execute. It acts like a remote control for Docker.
Click to reveal answer
beginner
Explain the Docker Daemon and its function.
The Docker Daemon runs on the host machine and manages Docker objects like containers, images, networks, and volumes. It listens for commands from the Docker Client and performs the requested actions.
Click to reveal answer
beginner
What is a Docker Registry and why is it important?
A Docker Registry is a storage and distribution system for Docker images. It allows users to share and download images. Docker Hub is a popular public registry.
Click to reveal answer
intermediate
How do the Docker Client and Docker Daemon communicate?
They communicate through REST API calls over a socket or network interface. The client sends commands, and the daemon executes them.
Click to reveal answer
intermediate
Describe the flow when you run 'docker run' command.
The Docker Client sends the 'run' command to the Docker Daemon. The daemon checks if the image exists locally or pulls it from the Registry. Then it creates and starts the container.
Click to reveal answer
Which component in Docker architecture listens for commands and manages containers?
ADocker Daemon
BDocker Client
CDocker Registry
DDocker Compose
Where are Docker images stored for sharing and downloading?
ADockerfile
BDocker Daemon
CDocker Client
DDocker Registry
How does the Docker Client communicate with the Docker Daemon?
ADirect file access
BThrough REST API calls
CUsing SSH only
DVia Docker Registry
What happens if the Docker Daemon does not find an image locally when running a container?
AIt pulls the image from the Docker Registry
BIt asks the Docker Client to build the image
CIt throws an error and stops
DIt creates a new image automatically
Which of these is NOT part of Docker architecture?
ADocker Client
BDocker Daemon
CDocker Kernel
DDocker Registry
Describe the roles of Docker Client, Docker Daemon, and Docker Registry in Docker architecture.
Think about who talks, who does the work, and where images are kept.
You got /3 concepts.
    Explain the process that happens when you run a Docker container using 'docker run'.
    Follow the command from user input to container start.
    You got /4 concepts.