mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
58 lines
1.6 KiB
Text
58 lines
1.6 KiB
Text
|
|
NAME
|
||
|
|
gcloud artifacts docker - manage Artifact Registry container images and
|
||
|
|
tags
|
||
|
|
|
||
|
|
SYNOPSIS
|
||
|
|
gcloud artifacts docker GROUP [GCLOUD_WIDE_FLAG ...]
|
||
|
|
|
||
|
|
DESCRIPTION
|
||
|
|
To list images under repository my-repo, project my-project, in
|
||
|
|
us-central1:
|
||
|
|
|
||
|
|
$ gcloud 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 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 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 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 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
|
||
|
|
Manage Artifact Registry container images.
|
||
|
|
|
||
|
|
tags
|
||
|
|
Manage Artifact Registry container image tags.
|
||
|
|
|
||
|
|
NOTES
|
||
|
|
These variants are also available:
|
||
|
|
|
||
|
|
$ gcloud alpha artifacts docker
|
||
|
|
|
||
|
|
$ gcloud beta artifacts docker
|
||
|
|
|