1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/alpha/artifacts/docker/help
2022-03-01 04:29:52 +00:00

60 lines
1.9 KiB
Text

NAME
gcloud alpha artifacts docker - manage Artifact Registry container images
and tags
SYNOPSIS
gcloud alpha artifacts docker GROUP [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) To list images under repository my-repo, project my-project, in
us-central1:
$ gcloud alpha artifacts docker images list \
us-central1-docker.pkg.dev/my-project/my-repo
To delete image busy-box in us-west1 and all of its digests and tags:
$ gcloud alpha artifacts docker images delete
us-west1-docker.pkg.dev/my-project/my-repository/busy-box
To add tag my-tag to image busy-box referenced by digest abcxyz in
us-west1:
$ gcloud alpha artifacts docker tags add
us-west1-docker.pkg.dev/my-project/my-repository/busy-box@sha256:abcxyz
us-west1-docker.pkg.dev/my-project/my-repository/busy-box:my-tag
To delete tag my-tag from image busy-box in us-west1:
$ gcloud alpha artifacts docker tags delete
us-west1-docker.pkg.dev/my-project/my-repository/busy-box:my-tag
To list tags for image busy-box in us-west1:
$ gcloud alpha artifacts docker tags list
us-west1-docker.pkg.dev/my-project/my-repository/busy-box
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUPS
GROUP is one of the following:
images
(ALPHA) Manage Artifact Registry container images.
tags
(ALPHA) Manage Artifact Registry container image tags.
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. These variants are also available:
$ gcloud artifacts docker
$ gcloud beta artifacts docker