Docker container architecture and understanding

There are three components Docker {
. 1: Container vessel
2: images mirror
3Repositories warehouse
}
effect: Storage: storing image disclosure, also known as public repository, can be used to upload and download images,
image: the image is a template of the container, the container can be used to create
a container: examples of the mirror is
Here Insert Picture Descriptionthree relations shown in FIG.
docker architecture:
you can see the user client can is mirrored (images) in nginx through the interface Docker, using a mirror image to create containers docker container is needed.
docker difference with the virtual machine. Here Insert Picture Description
Docker commonly used commands Figure:
Here Insert Picture DescriptionDockerfile to build create images
ImagesRF Royalty Free registry can be uploaded into the warehouse through the Push
images can be downloaded from the warehouse to pull local
images generated by run containers
can be regenerated by the mirror commit containers.
containers can stop start restart run the restart and closed container management

Guess you like

Origin blog.csdn.net/weixin_43232423/article/details/90291222