Search⌘ K
AI Features

Docker Architecture

Explore the fundamental architecture of Docker, including the roles of the Docker Engine, Daemon, and CLI. Understand how Docker manages containers across Linux, Mac, and Windows through lightweight virtualization. Learn why the interactive options -i and -t are essential for running long-lived container sessions, especially for interactive applications like Bash.

We'll cover the following...

Main parts of Docker

Docker can be divided into the following parts:

  • Docker Engine: It is the main component of Docker and serves as a client-server application.
  • Docker Daemon: It is responsible for doing the heavy lifting in terms of starting, stopping, and otherwise dictating our containers.
  • Docker CLI (the docker command): It is just a thin client that tells the Docker daemon to do what we have asked.

The following figure shows the high-level architecture of Docker on Linux:

Docker is built on ...