NAME

gcloud beta artifacts docker images - manage Artifact Registry container images

SYNOPSIS

gcloud beta artifacts docker images COMMAND [GCLOUD_WIDE_FLAG ...]

DESCRIPTION

(BETA) To list images under the current project, repository, and location:

$ gcloud beta artifacts docker images list

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 list images with tags, under repository my-repo, project my-project across all locations:

$ gcloud beta artifacts docker images list \ docker.pkg.dev/my-project/my-repo --include-tags

To list all images under image busy-box, in repository my-repo, project my-project across all locations:

$ gcloud beta artifacts docker images list \ docker.pkg.dev/my-project/my-repo/busy-box

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 delete image digest abcxyz under image busy-box:

$ gcloud beta artifacts docker images delete us-west1-docker.pkg.dev/my-project/my-repository/busy-box@sha256:abcxyz

To delete image digest abcxyz under image busy-box while there're some other tags associate with the digest:

$ gcloud beta artifacts docker images delete us-west1-docker.pkg.dev/my-project/my-repository/busy-box@sha256:abcxyz --delete-tags

To delete an image digest and its only tag my-tag under image busy-box:

$ gcloud beta artifacts docker images delete us-west1-docker.pkg.dev/my-project/my-repository/busy-box:my-tag

GCLOUD WIDE FLAGS

These flags are available to all commands: --help.

Run $ gcloud help for details.

COMMANDS

COMMAND is one of the following:

delete

(BETA) Delete an Artifact Registry container image.

describe

(BETA) Describe an Artifact Registry container image.

get-operation

(BETA) Get an On-Demand Scanning operation.

list

(BETA) List Artifact Registry container images.

list-vulnerabilities

(BETA) List On-Demand Scanning vulnerabilities.

scan

(BETA) Perform a vulnerability scan on a container image.

NOTES

This command is currently in beta and might change without notice. These variants are also available:

$ gcloud artifacts docker images

$ gcloud alpha artifacts docker images