Listing Images

Find out how to list the images in repositories in Container Registry.

Using the Console, you can list all the images in a repository. Using the CLI and the API, you have more options to filter the list of images.

Your permissions control which images you can list (see Policies to Control Repository Access). You can list images in repositories that you've created, and in 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 images in any repository in the tenancy.

    1. On the Container Registry list page, select the repository that you want to work with from the Repositories and images list. If you need help finding the list page or the repository, see Listing Repositories.
      The repository's details section opens.
    2. Select the repository in the Repositories and images list a second time.

    The images in the repository, including their version identifiers, are listed under the repository in the Repositories and images list.

  • Use the oci artifacts container image list command and required parameters to list images:

    oci artifacts container image list --compartment-id <compartment-ocid> [OPTIONS]

    For example:

    oci artifacts container image list --compartment-id ocid1.compartment.oc1..aaaaaaaaswegb83o...

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the ListContainerImages operation to list images.