manage test-image

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

Table 1: Command 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.

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 Setting up installation environment variables.

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