Getting Started with Containerization
上QQ阅读APP看书,第一时间看更新

Architecture

Here, we have an architectural diagram on how this all fits together:

High level architecture of Docker

On the lower part of the the preceding figure, we have the Linux operating system with its cgroups, namespaces, and layer capabilities as well as other functionality that we do not need to explicitly mention here. Then, there is an intermediary layer composed of containerd and runc. On top of all that now sits the Docker engine. The Docker engine offers a RESTful interface to the outside world that can be accessed by any tool, such as the Docker CLI, Docker for Mac, and Docker for Windows or Kubernetes to just name a few.

Let's now describe the main building blocks in a bit more detail.