Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to copy artifacts images from two different Google account.

Google documents say use gcrane tool to copy images in Artifact Registry but this will only work within same Account , I need to move artifacts images from one account to another different gcp account .

Please suggest how this can be done .

 

Solved Solved
0 1 1,758
1 ACCEPTED SOLUTION

Hi @shirish,

Welcome to Google Cloud Community!

You may copy artifact images from one Google Cloud Platform account to another, you can:

  1. Export the images from the source account using the `gcloud` command-line tool.
  2. Transfer the exported images to the destination account using a file transfer tool like `gsutil`.
  3. Import the images into the destination account using the `gcloud` command-line tool.

    Repeat these steps for each image you want to copy.

Reference:

Thanks

View solution in original post

1 REPLY 1

Hi @shirish,

Welcome to Google Cloud Community!

You may copy artifact images from one Google Cloud Platform account to another, you can:

  1. Export the images from the source account using the `gcloud` command-line tool.
  2. Transfer the exported images to the destination account using a file transfer tool like `gsutil`.
  3. Import the images into the destination account using the `gcloud` command-line tool.

    Repeat these steps for each image you want to copy.

Reference:

Thanks