gdcloud artifacts extract

名稱

gdcloud artifacts extract - 從 OCI 套件擷取映像檔,並將層寫入檔案。

概要

gdcloud artifacts extract SOURCE DESTINATION [flags]

範例

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.

選用旗標

      --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 廣泛標記

所有指令都可使用這些旗標:--configuration--format--help--project--quiet

詳情請參閱 gcloud CLI 參考資料總覽頁面。