Docker Architecture In Easy Mode

iamzahid

Zahid Ahmed

Posted on April 19, 2024

Docker Architecture In Easy Mode

- Explore the intricate design and comprehensive operational mechanics of Docker

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.

💖 💪 🙅 🚩
iamzahid
Zahid Ahmed

Posted on April 19, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Docker Architecture In Easy Mode
docker Docker Architecture In Easy Mode

April 19, 2024