I have an image in registry1
and want to copy it over to a registry2
.
Assuming I would get that done by running this command (as stated here):
gcloud container images add-tag \ gcr.io/registry1/image1:tag1 \ gcr.io/registry2/subdirectory/image1:tag1
But I want to create a new subdirectory within the registry2 it's being moved such as:
gcr.io/registry2/subdirectory/image1:tag1
how can I create it?
Also, I'm super new to GCR. Are these called subdirectories, folders?