I'm trying to retrieve a list of all container's images registered in Container Engine Registry. The command that should do the job "gcloud docker images" brings me only local images. In spite of this "gcloud docker pull gcr.io/myproject/myname:tag" works as expected.
Also, I have used a search API but it retrieves me names of images without their tags:
gcloud docker search gcr.io/[myproject]
Has somebody an experience with it?
Installed stuff:
Google Cloud SDK 99.0.0
You can use following command to get list of all the repositories in your GCP project
gcloud container images list --repository=HOST/PROJECT-ID
Here HOST would be gcr.io / us.gcr.io / eu.gcr.io etc based on your repo location
If you want to get list of all the versions of images in specific repository you can use list-tags command.
gcloud container images list-tags HOST/project-id/REPONAME
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With