- NAME
-
- gcloud artifacts docker upgrade - commands to support Container Registry to Artifact Registry upgrade
- SYNOPSIS
-
-
gcloud artifacts docker upgrade
COMMAND
[GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
To print an equivalent Artifact Registry IAM policy for 'gcr.io/my-project':
gcloud artifacts docker upgrade print-iam-policy gcr.io --project=my-project
To migrate a project from Container Registry to Artifact Registry using gcr.io repos:
gcloud artifacts docker upgrade migrate --projects=my-project
To migrate a project from Container Registry to Artifact Registry using pkg.dev repos:
gcloud artifacts docker upgrade migrate --from-gcr-io=gcr.io/from-project --to-pkg-dev=to-project/to-repo
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--help
.Run
$ gcloud help
for details. - COMMANDS
-
is one of the following:COMMAND
migrate
- Migrate projects from Container Registry to Artifact Registry.
- NOTES
-
This variant is also available:
gcloud beta artifacts docker upgrade
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-03-12 UTC.