manage test-image

Important: IBM Cloud Pak® for Data Version 4.8 will reach end of support (EOS) on 31 July, 2025. For more information, see the Discontinuance of service announcement for IBM Cloud Pak for Data Version 4.X.

Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.8 reaches end of support. For more information, see Upgrading from IBM Cloud Pak for Data Version 4.8 to IBM Software Hub Version 5.1.

Confirm that the image exists in the specified location.

Extended description

Important: To run this command, you must have the Red Hat® OpenShift® command-line interface (oc CLI) on your local workstation.

Use the command to confirm that an image is available in the IBM® Entitled Registry or in your private container registry.

Syntax

cpd-cli manage test-image \
--image-reference=<image-location-and-name>

Arguments

The test-image command has no arguments.

Options

Option Description
--image-reference Specify the location and name of the image to validate.
Status
Required.
Syntax
--image-reference=<image-location-and-name>
Default value
No default.
Valid values
A valid image location and name.

Table 1: Command options

Examples

Note: The following example uses the recommended installation environment variables.

It is strongly recommended that you use a script to create environment variables with the correct values for your environment. For details, see Best practice: Setting up installation environment variables.

Verify that the latest olm-utils-v2 image is available in the IBM Entitled Registry.
cpd-cli manage test-image \
--image-reference=icr.io/cpopen/cpd/olm-utils-v2:latest
Verify that the latest olm-utils-v2 image is available in your private container registry.
cpd-cli manage test-image \
--image-reference=<myregistry.domain.com>/olm-utils-v2:latest