gcloud beta artifacts docker - manage Artifact Registry container images and tags
gcloud beta artifacts docker GROUP [GCLOUD_WIDE_FLAG ...]
(BETA) To list images under repository my-repo, project my-project, in us-central1:
$ gcloud beta 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 beta 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 beta 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 beta 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 beta artifacts docker tags list us-west1-docker.pkg.dev/my-project/my-repository/busy-box
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- images
(BETA) Manage Artifact Registry container images.
- tags
(BETA) Manage Artifact Registry container image tags.
This command is currently in beta and might change without notice. These variants are also available:
$ gcloud artifacts docker
$ gcloud alpha artifacts docker