Not able to list images in GCR

Skip to first unread message

rav-loop austin

Nov 8, 2021, 2:46:55 PM11/8/21
to Google App Engine
raviatloop@cloudshell:~ ()$ gcloud container images list
Listed 0 items.
raviatloop@cloudshell:~ ()$

I am not able to list the images from cloud shell even there are around 5 images exits in the

Thanks for the help.

Darrell (Cloud Platform Support)

Nov 9, 2021, 2:14:06 PM11/9/21
to Google App Engine

I understand that you want to list list the images from cloud shell and you have 5 images. You are correct that you can list the existing images with the "gcloud container images list --repository=<REPO>" command[1]. However, I think you should omit the "2.0" from the "repository" flag as I believe that "" is the image name. 
$ gcloud container images list --repository

However, if you are looking to list the tags and digests for the "2.0" image, you can use the "gcloud container images list-tags" command[2].
$ gcloud container images list-tags

I hope you'll find information provided above useful.

Sebastian Anton

May 13, 2022, 11:29:49 AMMay 13
to Google App Engine

I have a similar issue in gougle cloud shell if I do:

gcloud container images list

it lists all repos in the domain but if I then try to list the images in one specific repo like this:

gcloud container images list

I always get "Listed 0 items."

Even though I can see that there are images in the repo in the WebGUI

What am I missing here?

Reply all
Reply to author
0 new messages