1, Docker architecture consisting of
1) image (Image): the equivalent of a root file system. For example, the official mirroring ubuntu: 16.04 contains the complete set of Ubuntu16.04 minimum system root file system.
2) container (Container): the relationship between the mirror and the like for the container class and strength and exclusive programming, like the mirror is a static definition of container like a mirror that entity. Container can be created, start, stop, delete, pause.
3) Storage (Repository): warehouse codes can be seen as a control center, to save the image.
Docker using a client - server (C / S) architecture model, using remote API to create and manage Docker containers.
Docker Docker container created by the mirror.
2, Docker of C / S
concept | Explanation |
Docker mirror (Images) | Docker containers used to create templates, such as Ubuntu system. |
Doxker container (Container) | Is a container or a group of applications run independently, is an entity Mirror operation |
Docker client (Client) | Docker client uses Docker SDK (from the command line or other tools https://docs.docker.com/develop/sdk/ ) to communicate with the daemon Docker's. |
Docker host (host) | A physical machine or virtual machine for executing Docker daemon and containers. |
Docker warehouse (Registry) | Docker warehouse for holding the mirror, to be understood that the code in code control repository. Hub Docker ( https://hub.docker.com ) provides a huge collection of mirrors for use. It may comprise a plurality of Docker Registry repository (the Repository); each warehouse may comprise a plurality of tags (the Tag); each tag corresponds to a mirror. Typically, a warehouse will contain different versions of the same software image, and label it to be commonly used in various versions of the software. We can <repository name>: <tag> format to specify which version of the software specifically a mirror. If the tag is not given, it will be latest as the default label. |
Docker Machine | Docker Machine is a simplified command-line tool Docker installed through a simple command line to install Docker on the appropriate platform, such as VirtualBox, Digital Ocean, Microsoft Azure. |