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

如需了解详情,请参阅 gdcloud CLI 参考概览页面。