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

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