May 22, 2021 Docker From entry to practice
A warehouse is a place where mirror files are centrally stored. W arehouses and warehouse registration servers are sometimes confused and not strictly distinguished. In fact, warehouse registration servers often house multiple warehouses, each containing multiple mirrors, each with a different tag.
Warehouses are divided into public and private warehouses.
The largest public repository is Docker Hub, which holds a large number of images for users to download. Domestic public warehouses, including Docker Pool, provide more stable and fast access for mainland users.
Of course, users can also create a private repository within the local network.
Once the user has created their own
push
it to a public or private repository using the push command, so that the next time they use the image
pull
the repository.
Note: The concept of a Docker repository is similar to Git, and a registered server can be understood as a managed service such as GitHub.