manage
load-image
Load a saved image to the container runtime on the client
workstation.
Prerequisites
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
Table 1: Command options
| Option | Description |
|---|---|
--source-image |
The image to load in the container runtime on the client workstation.
|
--tag |
Specify a different image name when you load it in the container
runtime on the client workstation.
|
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.
- Load the
k8s-storage-testimage that was saved from the IBM Entitled Registry -
cpd-cli manage load-image \ --source-image=icr.io/cpopen/cpd/k8s-storage-test:${VERSION}.amd64 - Load the
k8s-storage-perfimage from a private container registry -
cpd-cli manage load-image \ --source-image=${PRIVATE_REGISTRY_LOCATION}/cpopen/cpd/k8s-storage-perf:${VERSION}.amd64