Listing Repositories
Find out how to list the repositories in Container Registry.
Your permissions control which repositories you can list (see Policies to Control Repository Access). You can list repositories that you've created, and repositories that the groups to which you belong have been granted access by IAM policies. If you belong to the Administrators group, you can list any repository in the tenancy.
A repository with the top-level capability enabled appears as one repository resource. Its child image paths are not listed as separate repositories. List results identify the repository type and top-level capability setting. Use repository details to inspect upstream configuration.
The Container Registry list page displays the repositories in the selected region and compartment to which you have access.
Use the oci artifacts container repository list command and required parameters to list repositories:
oci artifacts container repository list --compartment-id <compartment-ocid> [OPTIONS]For example:
oci artifacts container repository list --compartment-id ocid1.compartment.oc1..aaaaaaaaswegb83o...To list pull-through cache repositories:
oci artifacts container repository list \ --compartment-id '<compartment-ocid>' \ --repository-type PULL_THROUGHTo list standard repositories with the top-level capability enabled:
oci artifacts container repository list \ --compartment-id '<compartment-ocid>' \ --repository-type STANDARD \ --is-top-level trueOmitting these filters includes both repository types and both top-level capability settings.
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the ListContainerRepositories operation to list repositories.
Use
repositoryTypeandisTopLevelfor the equivalent API filters.