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

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
主站蜘蛛池模板: 新野县| 长武县| 日喀则市| 淳化县| 玉溪市| 霍城县| 潞城市| SHOW| 鄂托克旗| 黔西| 南开区| 杨浦区| 彩票| 封开县| 休宁县| 梅河口市| 抚远县| 乌苏市| 海宁市| 武功县| 方正县| 马山县| 罗城| 衡东县| 抚顺县| 万盛区| 彩票| 闽侯县| 贡觉县| 黔西县| 南开区| 禄劝| 剑川县| 丹巴县| 屏东市| 沧源| 宜宾县| 金门县| 手机| 天柱县| 新泰市|