- NAME
-
- gcloud artifacts docker images - manage Artifact Registry container images
- SYNOPSIS
-
-
gcloud artifacts docker images
COMMAND
[GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
To list images under the current project, repository, and location:
gcloud artifacts docker images list
To list images under repository
my-repo
, projectmy-project
, inus-central1
:gcloud artifacts docker images list us-central1-docker.pkg.dev/my-project/my-repo
To list images with tags, under repository
my-repo
, projectmy-project
across all locations:gcloud artifacts docker images list docker.pkg.dev/my-project/my-repo --include-tags
To list all images under image
busy-box
, in repositorymy-repo
, projectmy-project
across all locations:gcloud artifacts docker images list docker.pkg.dev/my-project/my-repo/busy-box
To delete image
busy-box
inus-west1
and all of its digests and tags:gcloud artifacts docker images delete
us-west1-docker.pkg.dev/my-project/my-repository/busy-boxTo delete image digest
abcxyz
under imagebusy-box
:gcloud artifacts docker images delete
us-west1-docker.pkg.dev/my-project/my-repository/busy-box@sha256:abcxyzTo delete image digest
abcxyz
under imagebusy-box
while there're some other tags associate with the digest:gcloud artifacts docker images delete
us-west1-docker.pkg.dev/my-project/my-repository/busy-box@sha256:abcxyz --delete-tagsTo delete an image digest and its only tag
my-tag
under imagebusy-box
:gcloud 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
-
is one of the following:COMMAND
delete
- Delete an Artifact Registry container image.
describe
- Describe an Artifact Registry container image.
get-operation
- Get an On-Demand Scanning operation.
list
- List Artifact Registry container images.
list-vulnerabilities
- List On-Demand Scanning vulnerabilities.
scan
- Perform a vulnerability scan on a container image.
- NOTES
-
These variants are also available:
gcloud alpha artifacts docker images
gcloud beta artifacts docker images
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"last_modified": "Last updated 2024-02-06 UTC.",
"state": ""
}