Docker Architecture In Easy Mode
Zahid Ahmed
Posted on April 19, 2024
- Explore the intricate design and comprehensive operational mechanics of Docker
When we execute command using the Docker CLI to create a container, the docker client converts the command into a RESTful API, which is then passed to the Docker Daemon.
Docker Daemon on receiving the instruction, first checks if the image provided is already available on the local system. If it is not, the image is downloaded from the docker registry, and once the image is downloaded
It makes a call to the containerd to start the container. containerd is responsible for converting the image that was downloaded into an OCl compliance bundle.
It then passes the bundle to containerd-shim, which in turn calls the runC to start container and interacts with the namespaces and groups.
while runC utilizes libcontainer under the hood to interact with the Linux kernel and manage containers
That's how a container gets created.
Posted on April 19, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.