manage load-image

Load a saved image to the container runtime on the client workstation.

Extended description

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

You must run the save-image command before you run the load-image commands.

Syntax

cpd-cli manage load-image \
--source-image=<source-image-location-and-name> \
[--tag=<target-image-location-and-name>]

Arguments

The load-image command has no arguments.

Options

Option Description
--source-image The image to load in the container runtime on the client workstation.
Status
Required.
Syntax
--source-image=<source-image-location-and-name>
Default value
No default.
Valid values
A valid image location and name. The following list includes common images.
cpd-cli backup-restore images
Note: Run skopeo list-tags docker://icr.io/cpopen/cpd/cpdbr for a list of build numbers.
  • x86-64: icr.io/cpopen/cpd/cpdbr:4.0.0-${BUILD_NUM}-x86_64
  • ppc64le: /cpd/cpdbr:4.0.0-${BUILD_NUM}-ppc64le
cpd-cli export-import images
Note: Run skopeo list-tags docker://icr.io/cpopen/cpd/cpdtool for a list of build numbers.
  • x86-64: icr.io/cpopen/cpd/cpdtool:4.0.0-${BUILD_NUM}-x86_64
  • ppc64le: icr.io/cpopen/cpd/cpdtool:4.0.0-${BUILD_NUM}-ppc64le
cpd-cli manage image
icr.io/cpopen/cpd/olm-utils:latest
cpd-cli migrate-ldap images
  • x86-64: icr.io/cpopen/cpd/zen-ldapmigrate:latest-amd64
  • ppc64le: icr.io/cpopen/cpd/zen-ldapmigrate:latest-ppc64le
  • s390x: icr.io/cpopen/cpd/zen-ldapmigrate:latest-s390x
cpd-cli oadp backup and restore images
  • x86-64: icr.io/cpopen/cpd/cpdbr-oadp:4.5.0-1-x86_64
  • ppc64le: icr.io/cpopen/cpd/cpdbr-oadp:4.5.0-1-ppc64le
cpd-cli oadp API images
  • x86-64: icr.io/cpopen/cpd/cpdbr-api:4.5.0-1-x86_64
  • ppc64le: icr.io/cpopen/cpd/cpdbr-api:4.5.0-1-ppc64le
cpd-cli oadp UBI image
registry.redhat.io/ubi8/ubi-minimal:latest
cpd-cli oadp Velero images
  • x86-64: icr.io/cpopen/cpd/cpdbr-velero-plugin:4.0.0-beta1-1-x86_64
  • ppc64le: icr.io/cpopen/cpd/cpdbr-velero-plugin:4.0.0-beta1-1-ppc64le
--tag Specify a different image name when you load it in the container runtime on the client workstation.
Status
Optional.
Syntax
--tag=<target-image-location-and-name>
Default value
No default.
Valid values
A target image location and name that differs from the --source-image name.

Examples

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

Use a script to create environment variables with the correct values for your environment. For details, see Best practice: Setting up install variables.

Load the cpd-cli migrate image that was saved from the IBM® Entitled Registry.
cpd-cli manage load-image \
--source-image=icr.io/cpopen/cpd/zen-ldapmigrate:latest-amd64
Load the cpd-cli migrate image that was saved from the IBM Entitled Registry and tag the image with the Cloud Pak for Data release that you are using.
cpd-cli manage load-image \
--source-image=icr.io/cpopen/cpd/zen-ldapmigrate:latest-amd64 \
--tag=icr.io/cpopen/cpd/zen-ldapmigrate:v4.6.6