-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added more information on token auth workflow.
[noissue]
- Loading branch information
Showing
5 changed files
with
268 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Registry catalog | ||
|
||
A registry may contain several repositories which hold collections of multiple images. Each | ||
repository is identified by its unique name. The list of names of all distributed repositories | ||
is made available through the ``_catalog`` endpoint. | ||
|
||
For instance, let's assume that a new distribution of a repository with the name ``library/zoo`` | ||
was recently created. Its name is now possible to fetch from the list of names of distributed | ||
repositories. | ||
|
||
```bash | ||
$ http https://puffy.example.com/v2/_catalog | ||
HTTP/1.1 200 OK | ||
Access-Control-Expose-Headers: Correlation-ID | ||
Allow: GET, HEAD, OPTIONS | ||
Connection: keep-alive | ||
Content-Length: 63 | ||
Content-Type: application/json | ||
Correlation-ID: 1de33d4807a244f1b00c10df3fdc7a1b | ||
Cross-Origin-Opener-Policy: same-origin | ||
Date: Fri, 17 May 2024 10:20:25 GMT | ||
Docker-Distribution-Api-Version: registry/2.0 | ||
Referrer-Policy: same-origin | ||
Server: nginx | ||
Strict-Transport-Security: max-age=15768000 | ||
Vary: Accept | ||
X-Content-Type-Options: nosniff | ||
X-Frame-Options: DENY | ||
X-Registry-Supports-Signatures: 1 | ||
|
||
{ | ||
"repositories": [ | ||
"library/zoo", | ||
"alice/azure", | ||
] | ||
} | ||
``` | ||
!!! note | ||
For the sake of simplicity of this example, there is missing required user token authentication | ||
to this endpoint. Users will see only those repositories in the registry catalog that they have access to. | ||
Visit [Token authentication section](site:pulp_container/docs/admin/learn/authentication.md) to learn more. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters