Docker - Architecture

Docker engine

docker engine application is a c / s structure (Client - Server (C / S) architecture program) major components as shown below:

  • Server is a permanent process
  • REST API implements the protocol interaction between the client and server
  • CLI realize container and image management, to provide users with a unified user interface
  • is a mirror image
  • container is a container

 

 

note:

Docker Docker container created by the mirror.

Relationship between the container and the mirror similar to object-oriented programming and object class.

Docker ------> Object Oriented

Container ------> Objects

Mirror ------> Class

Docker framework

Docker using C / S architecture, building Client achieved containers via an interface to communicate with the Server process runs and publishing. client and server can run on the same cluster, it can also be achieved through remote communication across hosts.

client: The client

docker_host: Host Host

registry: Warehouse: PW and central warehouse (Docker Hub)

 

 

Key concept

镜像 (image)

Docker Docker mirror is used to create a template container (Mirror is an application of an operating system is installed)

Container (container)

Is a container or a group of applications run independently

The client (Client)

Docker client via the command line or other tools API Docker ( https://docs.docker.com/reference/api/docker_remote_api daemon communication) and Docker's.

Host (Host)

A physical or virtual machine for executing Docker daemon and containers.

Warehouse (Registry)

Docker warehouse for holding the mirror, to be understood that the code in code control repository.

Docker Hub(https://hub.docker.com) 提供了庞大的镜像集合供使用。

Guess you like

Origin www.cnblogs.com/waller/p/12108285.html
Recommended