gcloud artifacts docker upgrade

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':
gcloudartifactsdockerupgradeprint-iam-policygcr.io--project=my-project

To migrate a project from Container Registry to Artifact Registry using gcr.iorepos:

gcloudartifactsdockerupgrademigrate--projects=my-project

To migrate a project from Container Registry to Artifact Registry using pkg.devrepos:

gcloudartifactsdockerupgrademigrate--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
COMMAND is one of the following:
migrate
Migrate projects from Container Registry to Artifact Registry.
NOTES
This variant is also available:
gcloudbetaartifactsdockerupgrade

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.