manage
pull-image
Pull an image from a registry and load it in the container runtime on
your workstation.
Extended description
Important: To run this command, you must have the Red Hat®
OpenShift® command-line interface (
oc
CLI) on your local workstation.Syntax
cpd-cli manage pull-image \
--from=<source-image-location-and-name> \
[--tag=<target-image-location-and-name>]
Arguments
The pull-image command has no arguments.
Options
Table 1: Command options
| Option | Description |
|---|---|
--from |
The image to pull and 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.
- Pull the latest UBI Minimal image from the Red Hat registry and load it in the container runtime on the client workstation.
-
cpd-cli manage pull-image \ --from=registry.redhat.io/ubi9/ubi-minimal:latest