- NAME
-
- gcloud artifacts docker upgrade - commands to support Container Registry to Artifact Registry upgrade
- SYNOPSIS
-
-
gcloud artifacts docker upgradeCOMMAND[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-projectTo migrate a project from Container Registry to Artifact Registry using gcr.io repos:
gcloud artifacts docker upgrade migrate --projects = my-projectTo 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 helpfor 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
gcloud 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 2026-05-27 UTC.

