Editing a Repository

Find out how to edit a repository in Container Registry.

Having created a repository in Container Registry, you can edit its properties. For example, you might want to change access to a repository from private access to public access.

Your permissions control the repositories in Container Registry that you can edit (see Policies to Control Repository Access). You can edit repositories you've created, and repositories that the groups to which you belong have been granted access by identity policies. If you belong to the Administrators group, you can edit 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. Update the settings as needed. Avoid entering confidential information. For descriptions of the settings, see Creating a Repository.

      For example, you can make the following edits:

  • Use the oci artifacts container repository update command and required parameters to edit repository properties:

    oci artifacts container repository update --repository-id <repository-ocid> [OPTIONS]

    For example:

    oci artifacts container repository update --repository-id ocid1.containerrepo.oc1.us-phoenix-1.0.ansh81vru1zp.aaaaaaaaswec83o... --is-public yes

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

  • Run the UpdateContainerRepository operation to edit a repository.