Docker mirror, containers and warehouses

  Docker Mirror

  Docker image similar to a virtual machine image, it can be understood as a read-only template.

  For example, a mirror may comprise a basic operating system environment, which only Apache application (or other software required by the user) is installed. It can be referred to as an Apache mirror.

  Mirroring is the basis for the creation Docker container.

  By versioning and incremental file system, Dockers provides a very simple mechanism to create and update an existing image, the user can even download a ready made application image from the Internet, and direct use. 

  Docker container

  docker container similar to a lightweight sandbox, Docker operation and use of the container to isolate.

  Container is a running instance of the application created from a mirror. It can start, start, stop, delete, and these containers are isolated from each other, and do not visible.

  The container can be seen as a simple version of the Linux environment (including root privileges, process space, user space and cyberspace, etc.) and running within an application package from the box.

  Docker warehouse

  Docker warehouse code similar to the warehouse is a centralized repository file docker place mirror.

  Sometimes we will warehouse and warehouse registration server (registry) confused, do not strictly separate. In fact, the registration server is the warehouse is the place to store warehouse, which often contains several warehouses. Each storage warehouse and a certain type of image, often include a plurality of image files to be distinguished by a different label (tag). E.g. Ubuntu operating system image storage warehouse, the warehouse is called Ubuntu, which may include different versions of the image and the like 16.04,18.04.

  The stored image can be divided into two forms disclosed warehouse (Public) and private repository (private).

  Currently, the largest public repository is provided by the official Docker Hub, which kept the huge number of images available for users to download. Quite a few cloud server (Tencent cloud, Ali cloud, etc.) also provide a stable country visit.

  Of course, if the user does not want to publicly share their image file, Docker also allows users to create their own can only access a local network within the private warehouse.

  When a user creates his own image you can use the push command to upload it to the specified private or public warehouse. Thus when the user next uses the mirrored on another machine, from which only needs to pull it down to the warehouse.

Guess you like

Origin www.cnblogs.com/DennyT/p/11315755.html