To extract the image from an OCI package, run:
gdcloud artifacts extract SOURCE DESTINATION \
--image-name IMAGE_NAME
The SOURCE path must point to a directory containing the OCI bundle.
This command writes the extracted image to the output path specified in DESTINATION. This output path must point to an empty directory.
The image name is the full name of the container image. For example, gpc-system-storage/storage:9.13.1P1.
OPTIONAL FLAGS
--docker-executable Set this flag if you want to extract the image to a docker executable tarball (Optional)
--image-name string Full name of the image.
GDCLOUD WIDE FLAGS
These flags are available to all commands: --configuration, --format, --help, --project, --quiet.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["`gdcloud artifacts extract` extracts an image from OCI packages and writes the image layers to files."],["The `SOURCE` path must be a directory containing the OCI bundle, and the `DESTINATION` path must be an empty directory where the extracted image will be written."],["The `--image-name` flag specifies the full name of the container image to extract."],["The `--docker-executable` flag, when set, allows extraction to a Docker executable tarball."],["Standard gdcloud flags such as `--configuration`, `--format`, and `--project` are available for use with this command."]]],[]]