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.

  • To edit a repository in Container Registry using the Console:

    1. Open the navigation menu and click Developer Services. Under Containers & Artifacts, click Container Registry.
    2. Select the region that contains the repository.
    3. Select the compartment that contains the repository.

      The Repositories and images field lists the repositories in the selected region and compartment to which you have access.

    4. From the list, select the repository that you want to edit.

      Details of the selected repository are shown in tabular form.

    5. Make your edits. For example:
  • 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.