官术网_书友最值得收藏!

Understanding Docker

Before we start using Docker, let's take a brief look at how the Docker is meant to be used, how it is structured, and what are the major components of the complete system.

The following list and the accompanying image should help understand the architecture of Docker pipeline:

  • Dockerfile: It consists of instructions on how to build an image that runs our program.
  • Docker client: This is a command-line program used by the user to interact with Docker daemon.
  • Docker daemon: This is the Daemon application that listens for commands to manage building or running containers and pushing containers to Docker registry. It is also responsible for configuring container networks, volumes, and so on.
  • Docker images: Docker images contain all the steps necessary to build a container binary that can be executed on any Linux machine with Docker installed.
  • Docker registry: The Docker registry is responsible for storing and retrieving the Docker images. We can use a public Docker registry or a private one. Docker Hub is used as the default Docker registry.
  • Docker Container: The Docker container is different from the Container we have been discussing so far. A Docker container is a runnable instance of a Docker image. A Docker container can be created, started, stopped, and so on.
  • Docker API: The Docker client we discussed earlier is a command-line interface to interact with Docker API. This means that the Docker daemon need not be running on the same machine as does the Docker client. The default setup that we will be using throughout the book talks to the Docker daemon on the local system using UNIX sockets or a network interface:
Docker architecture
主站蜘蛛池模板: 西宁市| 农安县| 集贤县| 元谋县| 黄山市| 梁平县| 花莲市| 芜湖市| 都江堰市| 突泉县| 陆川县| 屯门区| 寿宁县| 沁阳市| 安宁市| 新邵县| 饶平县| 文昌市| 黑水县| 庆云县| 芜湖县| 阜城县| 临城县| 张掖市| 鄯善县| 南岸区| 广水市| 长兴县| 密云县| 蓬安县| 陆良县| 黄浦区| 农安县| 江门市| 四子王旗| 贵定县| 昆山市| 临高县| 岳普湖县| 登封市| 连山|