As a DevOps engineer working on a project to deploy container images to Oracle Cloud Infrastructure Container Registry (OCIR), you have the option to create an empty repository in advance or allow the system to create a repository automatically on first push. Which statement about automatic repository creation is true?
The statement that is true about automatic repository creation is that if you select the ''Create repositories on first push root compartment'' option and push an image with a command that includes the name of a repository that doesn't already exist, a new private repository is created automatically in the root compartment. This option allows you to enable or disable automatic repository creation for the root compartment of your tenancy. If you enable this option, you can push an image to OCI Registry using the docker push command with the format <region-key>.ocir.io/<tenancy-namespace>/<repository-name>:<tag>, where <repository-name> is the name of a repository that does not exist yet. This will create a new private repository with the specified name and tag in the root compartment. If you disable this option, you will need to create an empty repository in advance before pushing an image to it. Verified Reference: [Creating Repositories - Oracle Cloud Infrastructure Registry], [Pushing Images - Oracle Cloud Infrastructure Registry]
Currently there are no comments in this discussion, be the first to comment!