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 FACULTATIFS
--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.
FLAGS GDCLOUD GÉNÉRAUX
Ces flags sont disponibles pour toutes les commandes : --configuration, --format, --help, --project, --quiet.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2026/05/30 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2026/05/30 (UTC)."],[],[]]