How to copy image from one project to another

google-cloud-platform

I have two different projects in GCP and I created useful image in project 1. I want to have this image in project 2. How can I do it?

Best Answer

I found a solution.

gcloud compute --project=project2 images create image-2 --source-image=image-1 --source-image-project=project
Related Topic