vania-janet/multiturn-rag-retrieval-data huggingface dataset:
container-registry.image.inspect [ibmcloud cr image-inspect](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_inspect) Display details about a specific container image.<br><br>[ibmcloud cr manifest-inspect](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_manifest_inspect) View the contents of the manifest for an image. Reader, Manager 
 container-registry.image.list [ibmcloud cr image-digests](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_digests) List all your container images, including untagged images.<br><br>[ibmcloud cr image-list](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_list) List your tagged container images.<br><br>[ibmcloud cr image-prune-untagged](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregcliic_cr_image_prune_untagged) Delete all untagged images in your Container Registry account.<br><br>[ibmcloud cr trash-list](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_trash_list) Display the container images that are in the trash. Reader, Manager
* --all-regions: List disaster recovery locations for all regions.
* --json: Format output in JSON.



--------------------







 ibmcloud pi image 



 View details of an image 

ibmcloud pi image IMAGE_ID [--json]



* IMAGE_ID: The unique identifier or name of the image.



Options



* --json: Format output in JSON.



--------------------







 ibmcloud pi image-create 



 Create a copy of an image from the image catalog in this account 

ibmcloud pi image-create IMAGE_ID [--json]



* IMAGE_ID: The unique identifier or name of the image.



Options



* --json: Format output in JSON.



--------------------







 ibmcloud pi image-delete 



 Delete an image from this account 

ibmcloud pi image-delete IMAGE_ID



* IMAGE_ID: The unique identifier or name of the image.



--------------------







 ibmcloud pi image-export 



 Export an image from IBM Cloud Object Storage 

ibmcloud pi image-export IMAGE_ID --bucket BUCKET_NAME --region REGION_NAME --access-key KEY --secret-key KEY [(--job | --task)] [--json]



* IMAGE_ID: The unique identifier or name of the image.



Options



* --bucket: Cloud Object Storage bucket name.
* --region: Cloud Object Storage region (us-east, us-south, eu-de).
* --access-key: Cloud Object Storage HMAC access key.
* --secret-key: Cloud Object Storage HMAC secret key.
* --json: Format output in JSON.
* --job: The operation will be processed as a job.
* --output: Specify output format, only JSON is supported. One of: JSON.
* -q, --quiet: Suppress verbose output.



--------------------







 ibmcloud is image-export-job-delete 

Delete one or more image export jobs.

ibmcloud is image-export-job-delete IMAGE (JOB1 JOB2 ...) [--output JSON] [-f, --force] [-q, --quiet]



 Command examples 



* ibmcloud is image-export-job-delete 72251a2e-d6c5-42b4-97b0-b5f8e8d1f479 6451a2e-d6c5-42b4-97b0-b5f8e8d1f479
* ibmcloud is image-export-job-delete my-image my-export-job







 Command options 



* IMAGE: ID or name of the image.
* JOB1: ID or name of the image export job.
* JOB2: ID or name of the image export job.
* --output: Specify output format, only JSON is supported. One of: JSON.
* --force, -f: Force the operation without confirmation.
* -q, --quiet: Suppress verbose output.



--------------------







 ibmcloud is catalog-image-offerings 

List all catalog image offerings.

ibmcloud is catalog-image-offerings [--output JSON] [-q, --quiet]



 Command example 



* ibmcloud is catalog-image-offerings







 Command options 



* --output: Specify output format, only JSON is supported. One of: JSON.
* -q, --quiet: Suppress verbose output.



--------------------







 ibmcloud is catalog-image-offering 

Get catalog image offering.
You can identify the images in the scope by using either the [tag](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_overviewoverview_elements_tag) or the [digest](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_overviewoverview_elements_digest). You can reference the image by digest <dns>/<namespace>/<repo>@<digest>, which affects the digest and all its tags in the same repository, or by tag <dns>/<namespace>/<repo>:<tag>. Where <dns> is the domain name, <namespace> is the namespace, <repo> is the repository, <digest> is the digest, and <tag> is the tag. To list all images, including [untagged](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_overviewoverview_elements_untagged) images, run the [ibmcloud cr image-digests](https://cloud.ibm.com/docs/cli?topic=cli-containerregclibx_cr_image_digests) command.

ibmcloud cr exemption-rm --scope SCOPE --issue-type ISSUE_TYPE --issue-id ISSUE_ID



 Prerequisites 

To find out about the required permissions, see [Access roles for configuring Container Registry](https://cloud.ibm.com/docs/Registry?topic=Registry-iamaccess_roles_configure).





 Command options 

--scope SCOPE
: To set your account as the scope, use "" as the value.

To set a namespace, repository, digest, or tag as the scope, enter the value in one of the following formats:



* namespace
* namespace/repository
* namespace/repository:tag
* namespace/repository@digest



--issue-type ISSUE_TYPE
: The issue type of the exemption for the security issue that you want to remove.
* -q, --quiet: Suppress verbose output.



--------------------







 ibmcloud is operating-system 

View details of an operating system.

ibmcloud is operating-system OPERATING_SYSTEM_NAME [--output JSON] [-q, --quiet]



 Command options 



* OPERATING_SYSTEM_NAME: Name of the operating system.
* --output: Specify output format, only JSON is supported. One of: JSON.
* -q, --quiet: Suppress verbose output.



--------------------







 ibmcloud is image 

View details of an image.

ibmcloud is image IMAGE [--output JSON] [-q, --quiet]



 Command options 



* IMAGE: ID or name of the image.
* --output: Specify output format, only JSON is supported. One of: JSON.
* -q, --quiet: Suppress verbose output.



--------------------







 ibmcloud is images 

List all images in the region.

ibmcloud is images [--visibility all | public | private] [--owner-type all | provider | user] [--resource-group-id RESOURCE_GROUP_ID | --resource-group-name RESOURCE_GROUP_NAME | --all-resource-groups] [--output JSON] [-q, --quiet]



 Command options 



* --visibility: List images with given visibility. Valid visibility is: public or private.
* --owner-type: Filters images with given owner type. Default is all. One of: all, provider, user.
* --resource-group-id: ID of the resource group. This ID is mutually exclusive with --resource-group-name.
* --resource-group-name: Name of the resource group. This name is mutually exclusive with --resource-group-id.
You can identify the images in the scope by using either the [tag](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_overviewoverview_elements_tag) or the [digest](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_overviewoverview_elements_digest). You can reference the image by digest <dns>/<namespace>/<repo>@<digest>, which affects the digest and all its tags in the same repository, or by tag <dns>/<namespace>/<repo>:<tag>. Where <dns> is the domain name, <namespace> is the namespace, <repo> is the repository, <digest> is the digest, and <tag> is the tag. To list all images, including [untagged](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_overviewoverview_elements_untagged) images, run the [ibmcloud cr image-digests](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_digests) command.

ibmcloud cr exemption-rm --scope SCOPE --issue-type ISSUE_TYPE --issue-id ISSUE_ID



 Prerequisites 

To find out about the required permissions, see [Access roles for configuring Container Registry](https://cloud.ibm.com/docs/Registry?topic=Registry-iamaccess_roles_configure).





 Command options 

--scope SCOPE
: To set your account as the scope, use "" as the value.

To set a namespace, repository, digest, or tag as the scope, enter the value in one of the following formats:



* namespace
* namespace/repository
* namespace/repository:tag
* namespace/repository@digest



--issue-type ISSUE_TYPE
: The issue type of the exemption for the security issue that you want to remove. To find the issue types for your exemptions, run ibmcloud cr exemption-list.
ibmcloud cr retention-policy-set --images All <namespace>





 Clean up your namespaces by deleting untagged images 

You can clean up your namespace and reduce your bills by deleting your [untagged](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_overviewoverview_elements_untagged) images in the namespace and optionally output the results in JSON format.

If you want to delete your untagged images and output the results in JSON format, run the following [ibmcloud cr image-prune-untagged](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregcliic_cr_image_prune_untagged) command, where <namespace> is your namespace:

ibmcloud cr image-prune-untagged [--force | -f --json]] --restrict <namespace>
* [ibmcloud cr image-digests (ibmcloud cr digests)](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_digests)



* [Prerequisites](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_digests_prereq)
* [Command options](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_digests_option)
* [Example](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_digests_example)



* [ibmcloud cr image-inspect](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_inspect)



* [Prerequisites](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_inspect_prereq)
* [Command options](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_inspect_option)
* [Example](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_inspect_example)



* [ibmcloud cr image-list (ibmcloud cr images)](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_list)



* [Prerequisites](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_list_prereq)
* [Command options](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_list_option)
* [ibmcloud cr image-list](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_cli_listregistry_cli_list_imagelist) command
* [ibmcloud cr image-inspect](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_cli_listregistry_cli_list_imageinspect) command



The following code examples demonstrate how you might use the formatting and filtering options.



* Run the following ibmcloud cr image-digests command to display all untagged images referenced by their digests.

ibmcloud cr image-digests --format '{{if not .Tags}}{{.Repository}}@{{.Digest}}{{end}}'

The following message is an example of the output from the command

example-<region>.icr.io/user1/my_first_repo@<digest1>
example-<region>.icr.io/user1/my_first_repo@<digest2>
example-<region>.icr.io/user1/my_first_repo@<digest3>
* Run the following ibmcloud cr image-list command to display repository, tag, and security status of all tagged images that have a size over 1 MB.

ibmcloud cr image-list --format "{{ if gt .Size 1000000 }}{{ .Repository }}:{{ .Tag }} {{ .SecurityStatus.Status }}{{end}}"

The following message is an example of the output from the command:

example-<region>.icr.io/user1/my_first_repo:latest No Issues
example-<region>.icr.io/user1/my_second_repo:1 2 Issues
example-<region>.icr.io/user1/my_second_repo:test1 1 Issue
example-<region>.icr.io/user1/my_second_repo_2:test2 7 Issues
You can restore charts by running the [ibmcloud cr image-restore](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_restore) command. You can use the following options:



* <repo>@<digest>, which restores the digest and all its tags in the repository that aren't already in the live repository, see [Restoring charts by digest](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_helm_chartsregistry_helm_charts_restore_digest).
* <repo>:<tag>, which restores the tag, see [Restoring charts by tag](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_helm_chartsregistry_helm_charts_restore_tag).





 Restoring charts by digest 

When you restore a chart by digest, the digest is moved from the trash into your live repository, and all the tags for that digest in the repository are restored.

To restore a chart by digest from the trash, complete the following steps:



1. Log in to IBM Cloud by running the ibmcloud login command.
2. List the charts in the trash by running the following command.

ibmcloud cr trash-list

A table is displayed that shows the items in the trash. The table shows the digest, the days until expiry, and the tags for that digest.
3. Note the digest for the chart that you want to restore.
4. Run the following command to restore the chart to your repository. Where <dns> is the domain name, <namespace> is the namespace, <repo> is the repository, and <digest> is the digest of the chart that you want to restore.

ibmcloud cr image-restore <dns>/<namespace>/<repo>@<digest>

If some tags aren't restored, see [Why aren't all the tags restored when I restore by digest](https://cloud.ibm.com/docs/Registry?topic=Registry-troubleshoot-image-restore-digest).
If you want to restore a deleted chart, you can list the contents of the trash by running the [ibmcloud cr trash-list](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_trash_list) command and restore a selected chart by running the [ibmcloud cr image-restore](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_restore) command. You can use these commands because Helm charts are a supported artifact type in OCI.

Where multiple

tagsexist for the same chart digest within a repository, the [ibmcloud cr image-rm](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_rm) command removes the underlying chart and all its tags. If the same chart exists in a different repository or namespace, that copy of the chart is not removed.

A tag must always match the chart's semantic version, which means that a latest tag isn't used.



 Deleting charts from your private repository in the CLI 

You can delete unwanted charts and all their tags from your private IBM Cloud repository by using the CLI.

Deleting a chart that is being used by an existing deployment might cause a Helm upgrade, rollback, or delete to fail.

If you want to restore a deleted chart, you can list the contents of the trash by running the [ibmcloud cr trash-list](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_trash_list) command and restore a selected chart by running the [ibmcloud cr image-restore](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_restore) command.

To delete a chart by using the CLI, complete the following steps:



1. Log in to IBM Cloud by running the ibmcloud login command.
2.
* --bucket: Cloud Object Storage bucket name.
* --region: Cloud Object Storage region (us-east, us-south, eu-de).
* --access-key: Cloud Object Storage HMAC access key.
* --secret-key: Cloud Object Storage HMAC secret key.
* --json: Format output in JSON.
* --job: The operation will be processed as a job.
* --task: [DEPRECATED] The operation will be processed as a task. Task processing is deprecated in favor of job processing. Default.



--------------------







 ibmcloud pi image-export-show 



 View details of an image export job 

ibmcloud pi image-export-show IMAGE_ID [--json]



* IMAGE_ID: The unique identifier or name of the image.



Options



* --json: Format output in JSON.



--------------------







 ibmcloud pi image-import 



 Import an image from IBM Cloud Object Storage 

ibmcloud pi image-import IMAGE_NAME [--bucket-access private] --disk-type DISKTYPE [--os-type OSTYPE] --access-key KEY --secret-key KEY --image-file-name IMAGE_FILE_NAME --bucket BUCKET_NAME --region REGION_NAME --job [--json]

ibmcloud pi image-import IMAGE_NAME [--bucket-access private] --storage-pool POOL [--os-type OSTYPE] --access-key KEY --secret-key KEY --image-file-name IMAGE_FILE_NAME --bucket BUCKET_NAME --region REGION_NAME --job [--json]
You can identify the images in the scope by using either the [tag](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_overviewoverview_elements_tag) or the [digest](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_overviewoverview_elements_digest). You can reference the image by digest <dns>/<namespace>/<repo>@<digest>, which affects the digest and all its tags in the same repository, or by tag <dns>/<namespace>/<repo>:<tag>. Where <dns> is the domain name, <namespace> is the namespace, <repo> is the repository, <digest> is the digest, and <tag> is the tag. To list all images, including [untagged](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_overviewoverview_elements_untagged) images, run the [ibmcloud cr image-digests](https://cloud.ibm.com/docs/Registry?topic=Registry-containerregclibx_cr_image_digests) command.

ibmcloud cr exemption-list [--scope SCOPE]



 Prerequisites 

To find out about the required permissions, see [Access roles for configuring Container Registry](https://cloud.ibm.com/docs/Registry?topic=Registry-iamaccess_roles_configure).





 Command options 

--scope SCOPE
: (Optional) List only the exemptions that apply to this scope.

To set a namespace, repository, digest, or tag as the scope, enter the value in one of the following formats:



* namespace
* namespace/repository
* namespace/repository:tag
* namespace/repository@digest







 Examples 

List all your exemptions for security issues that apply to images in the birds/bluebird repository. The output includes exemptions that are account-wide, exemptions that are scoped to the birds namespace, and exemptions that are scoped to the birds/bluebird repository.
You can identify the images in the scope by using either the [tag](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_overviewoverview_elements_tag) or the [digest](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_overviewoverview_elements_digest). You can reference the image by digest <dns>/<namespace>/<repo>@<digest>, which affects the digest and all its tags in the same repository, or by tag <dns>/<namespace>/<repo>:<tag>. Where <dns> is the domain name, <namespace> is the namespace, <repo> is the repository, <digest> is the digest, and <tag> is the tag. To list all images, including [untagged](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_overviewoverview_elements_untagged) images, run the [ibmcloud cr image-digests](https://cloud.ibm.com/docs/cli?topic=cli-containerregclibx_cr_image_digests) command.

ibmcloud cr exemption-list [--scope SCOPE]



 Prerequisites 

To find out about the required permissions, see [Access roles for configuring Container Registry](https://cloud.ibm.com/docs/Registry?topic=Registry-iamaccess_roles_configure).





 Command options 

--scope SCOPE
: (Optional) List only the exemptions that apply to this scope.

To set a namespace, repository, digest, or tag as the scope, enter the value in one of the following formats:



* namespace
* namespace/repository
* namespace/repository:tag
* namespace/repository@digest







 Examples 

List all your exemptions for security issues that apply to images in the birds/bluebird repository.
ibmcloud cr exemption-rm --scope us.icr.io/birds/bluebird:1 --issue-type configuration --issue-id application_configuration:nginx.ssl_protocols

Delete a configuration issue exemption for issue application_configuration:nginx.ssl_protocols for a single image with the digest us.icr.io/birds/bluebird@sha256:101010101010.

ibmcloud cr exemption-rm --scope us.icr.io/birds/bluebird@sha256:101010101010 --issue-type configuration --issue-id application_configuration:nginx.ssl_protocols







 ibmcloud cr exemption-types 

Lists the types of security issues that you can exempt.

ibmcloud cr exemption-types



 Prerequisites 

To find out about the required permissions, see [Access roles for configuring Container Registry](https://cloud.ibm.com/docs/Registry?topic=Registry-iamaccess_roles_configure).







 ibmcloud cr iam-policies-enable 

From 5 July 2022, all accounts require Cloud Identity and Access Management (IAM) access policies. If you started to use IBM Cloud Container Registry before the availability of [IAM API key policies in Container Registry](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_release_notesregistry-25feb2019) in February 2019, you must ensure that you are using IAM access policies to manage access to the Container Registry service. For more information, see [IAM access policies are required from 5 July 2022](https://cloud.ibm.com/docs/Registry?topic=Registry-registry_notices_iam_policy).

If you're using IAM authentication, this command enables fine-grained authorization. For more information, see [Managing IAM access for Container Registry](https://cloud.ibm.com/docs/Registry?topic=Registry-iam) and [Defining IAM access policies](https://cloud.ibm.com/docs/Registry?topic=Registry-useruser).
* --anti-affinity-volumes value: Space separated list of volume identifiers or names to base image anti-affinity policy against; required if "--affinity-policy anti-affinity" is specified and --anti-affinity-instances is not provided.
* --access-key: Cloud Object Storage HMAC access key.
* --secret-key: Cloud Object Storage HMAC secret key.
* --image-file-name: The image file name.
* --bucket-access value: Indicates the bucket access type (private or public). Private access requires access and secret keys. Default is private.
* --bucket value: Cloud Object Storage bucket name
* --region value: Cloud Object Storage region (us-east, us-south, eu-de)
* --job: The operation will be processed as a job. image-file-name, region, and bucket is required.
* --task: [DEPRECATED] The operation will be processed as a task. Task processing is deprecated in favor of job processing. Default.
* --json: Format output in JSON.



--------------------







 ibmcloud pi image-import-show 



 View details of an image import job 

ibmcloud pi image-import-show [--json]

Options



* --json: Format output in JSON.



--------------------







 ibmcloud pi images 



 List all of the images for this account 

ibmcloud pi images [--long] [--json]

Options



* --long: Retrieve all image details.
* --json: Format output in JSON.



--------------------







 ibmcloud pi instance 



 View details of a server instance 

ibmcloud pi instance INSTANCE_ID [--json]



* INSTANCE_ID: The unique identifier or name of the instance.



Options