Getting a Custom Image
Get the details of a Compute custom image in an Oracle Cloud Infrastructure compartment.
- On the Compute Custom images list page, select the custom image that you want to view. If you need help finding the list page, see Listing Custom Images.
The details page opens and displays the following information about the image:
- Details such as OCID, original image, and size
- Image capabilities which are the configuration options available when launching an instance from an image.
- Compatible shapes for this image.
- Work requests related to this image.
- Tags assigned to this image.
Use the image get command and required parameters to get a custom image:
oci compute image get --from-json <file://path/to/file.json>
Use the image-shape-compatibility-entry list command and required parameters to get the list of compatible shapes:
oci compute image-shape-compatibility-entry list --from-json <file://path/to/file.json>
<file://path/to/file.json> is the path to a JSON file that defines the instance details. For information about how to generate an example of the JSON file, see Advanced JSON Options.
For a complete list of flags and variable options for the Compute service CLI commands, see the command line reference for Compute.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.
Use this API operation to get an image: