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.
|
--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.
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