The Architecture of Docker Understanding Its Components

๐ ๏ธ Understanding Docker Architecture ๐ ๏ธ
Docker architecture consists of a Docker Engine, which is a client-server application with three main components:
Server ๐ฅ๏ธ
- A long-running program called a daemon process.
REST API ๐
- Interfaces are those that programs use to communicate with the daemon and give instructions.
CLI (Command Line Interface) Client ๐ป
- The Docker command is used to control or interact with the Docker daemon through scripting or direct commands.
The Docker CLI uses the Docker REST API to interact with the Docker daemon. Many Docker applications use this underlying API and CLI.

How Docker Works:
Docker Client ๐งโ๐ป
- Runs a command, translates it using the REST API, and sends it to the Docker Daemon (server).
Docker Daemon โ๏ธ
- Accepts the request and interacts with the operating system to build Docker images and run Docker containers.
Docker Image ๐ผ๏ธ
- A template of instructions used to create containers.
Docker uses a client-server architecture to efficiently build, ship, and run applications. ๐



