Concepts and basic operations of Docker images, containers, and warehouses

Docker includes three basic concepts:

Image (Image)
Container (Container)
Repository (Repository)

These three parts make up the entire life cycle of Docker. As shown in the figure below, a container is instantiated from an image, which is very similar to the object-oriented concept we learned. We can think of an image as a class and a container as a The object after the class is instantiated, so it is very easy to understand the relationship between the image and the container.

 

 

https://blog.csdn.net/SmalOSnail/article/details/53117496

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324621805&siteId=291194637