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.
FLAGS OPCIONAIS
--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.
SINALIZAÇÕES GERAIS DO GDCLOUD
Estas flags estão disponíveis para todos os comandos: --configuration, --format, --help, --project, --quiet.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-04 UTC."],[[["\u003cp\u003e\u003ccode\u003egdcloud artifacts extract\u003c/code\u003e extracts an image from OCI packages and writes the image layers to files.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSOURCE\u003c/code\u003e path must be a directory containing the OCI bundle, and the \u003ccode\u003eDESTINATION\u003c/code\u003e path must be an empty directory where the extracted image will be written.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--image-name\u003c/code\u003e flag specifies the full name of the container image to extract.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--docker-executable\u003c/code\u003e flag, when set, allows extraction to a Docker executable tarball.\u003c/p\u003e\n"],["\u003cp\u003eStandard gdcloud flags such as \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, and \u003ccode\u003e--project\u003c/code\u003e are available for use with this command.\u003c/p\u003e\n"]]],[],null,["# gdcloud artifacts extract\n\nNAME\n----\n\ngdcloud artifacts extract - Extract an image from OCI packages and write layers to files.\n\nSYNOPSIS\n--------\n\n gdcloud artifacts extract SOURCE DESTINATION [flags]\n\n### EXAMPLES\n\n To extract the image from an OCI package, run:\n\n gdcloud artifacts extract SOURCE DESTINATION \\\n --image-name IMAGE_NAME\n\n The SOURCE path must point to a directory containing the OCI bundle.\n This command writes the extracted image to the output path specified in DESTINATION. This output path must point to an empty directory.\n The image name is the full name of the container image. For example, gpc-system-storage/storage:9.13.1P1.\n\n### OPTIONAL FLAGS\n\n --docker-executable Set this flag if you want to extract the image to a docker executable tarball (Optional)\n --image-name string Full name of the image.\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-reference/gdcloud) page."]]