Getting an Image's Details
Find out how to get details of an image in a repository in Container Registry.
To make sure you pull the correct image or to identify images that you no longer need, you can get detailed information about the images in Container Registry.
Your permissions control which images you can get information about (see Policies to Control Repository Access). You can get information about 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 get information about images in any repository in the tenancy.
Use the oci artifacts container image get command and required parameters to get details of an image:
oci artifacts container image get --image-id <image-ocid> [OPTIONS]
For example:oci artifacts container image get --image-id ocid1.containerimage.oc1.phx.0.ansh81vru1zp.aaaaaaaalqzjyks...
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the GetContainerImage operation to get image details.