In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "what is the use of Docker Registry". The content of the explanation in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the use of Docker Registry"?
Docker Registry . It is the central Registry for all warehouses (both public and private) and workflows.
There are three roles, index, registry and registry client
Character 1... Index
Index is responsible for and maintains information about user accounts, image validation, and public namespaces. It maintains this information using the following components:
Web UI
Metadata storage
Authentication service
Symbolization
Role 2-Registry
Registry is a repository of images and diagrams. However, it does not have a local database and does not provide user authentication, which is supported by S3, cloud files, and local file systems. In addition, it authenticates through the Token mode of Index Auth service. Registries can have different types. Now let's analyze several of these types:
Sponsor Registry: third-party registry for use by customers and the Docker community.
Mirror Registry: a third-party registry that is only available to customers.
Vendor Registry: registry provided by the vendor that published the Docker image.
Private Registry: registry provided by private entities with firewalls and additional security layers.
Role 3-Registry Client
Docker acts as a registry client to maintain push and pull tasks, as well as client authorization.
Detailed explanation of Docker Registry workflow.
Scenario A: the user wants to obtain and download the image. The steps involved are as follows:
The user sends a request to index to download the image.
Index sends out a response and returns three relevant parts of information:
The registry where the image is located. The image includes the verification of all layers.
The image includes the verification of all layers
Token for authorization > Note: Token is returned only if there is a X-Docker-Token in the request header. Private warehouses require basic authentication, which is not mandatory for public warehouses.
The user communicates with registry through the Token returned after the response, and registry is in charge of the image, which is used to store the basic image and inherited layer.
Registry now wants to confirm with index that the token is authorized.
Index sends "true" or "false" to registry to determine whether the user is allowed to download the desired image.
Thank you for your reading, the above is the content of "what is the use of Docker Registry". After the study of this article, I believe you have a deeper understanding of what the use of Docker Registry is, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.