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

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
主站蜘蛛池模板: 柳林县| 汾阳市| 牡丹江市| 孟津县| 高青县| 吉安县| 曲水县| 潜江市| 遂平县| 临朐县| 玛纳斯县| 巍山| 永吉县| 鄂托克旗| 筠连县| 遂川县| 阳山县| 和硕县| 东城区| 右玉县| 汾阳市| 伊宁市| 珠海市| 深圳市| 安福县| 双鸭山市| 巴彦县| 吴旗县| 合山市| 芦山县| 筠连县| 卫辉市| 正阳县| 屏东县| 东乌珠穆沁旗| 中山市| 吉木萨尔县| 饶平县| 巴林左旗| 罗城| 项城市|