gdcloud artifacts pull

名称

gdcloud artifacts pull - 从注册表中拉取 OCI 软件包。

摘要

gdcloud artifacts pull SOURCE DESTINATION [flags]

示例

To pull OCI packages from a registry, run:

            gdcloud artifacts pull SOURCE DESTINATION

        To pull a single manifest repository from the registry, run:

            gdcloud artifacts pull SOURCE DESTINATION --single-manifest-repo

        To pull OCI packages from a registry without adhering to TLS protocols, run:

            gdcloud artifacts pull SOURCE DESTINATION --insecure

            The SOURCE is a reference of a remote OCI image. For example, gcr.io/cloud-marketplace/google/nginx:1.25.
            The DESTINATION path specified must point to an empty directory.
            This command writes the extracted image to the output path specified in SOURCE. This output path must point to an empty directory.

可选标志

      --insecure               Allow pulling from the registry, and establishing a connection to the server, even for server connections otherwise considered insecure.
      --single-manifest-repo   Pull a single-manifest repository from the registry, where the source is the reference for manifest instead of the image index.

GDCLOUD 全局标志

以下标志适用于所有命令:--configuration--format--help--project--quiet

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