[google-appengine] Re: Not able to list images in GCR

2022-05-13 Thread Sebastian Anton
Hi,

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

gcloud container images list --repository=eu.gcr.io/repo-domain

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 --repository=eu.gcr.io/repo-domain/some-repo

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?

Br
Sebastian

Darrell (Cloud Platform Support) schrieb am Dienstag, 9. November 2021 um 
20:14:06 UTC+1:

> Hi,
>
> 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=" command[1]. 
> However, I think you should omit the "2.0" from the "repository" flag as I 
> believe that "gcr.io/projectid/repo-name/2.0" is the image name. 
> *$ gcloud container images list --repository gcr.io/projectid/repo-name 
> *
>
> 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 gcr.io/projectid/repo-name/2.0 
> *
>
> I hope you'll find information provided above useful.
>
>
> [1] 
> https://cloud.google.com/sdk/gcloud/reference/container/images/list#--repository
> [2] 
> https://cloud.google.com/sdk/gcloud/reference/container/images/list-tags
>
> On Monday, November 8, 2021 at 2:46:55 PM UTC-5 ravia...@gmail.com wrote:
>
>> Hi, 
>> raviatloop@cloudshell:~ ()$ gcloud container images list --repository=
>> gcr.io/projectid/repo-name/2.0
>> 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 gcr.io/projectid/repo-name/2.0
>>
>> Thanks for the help.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a51cbf91-9f6a-43cc-973c-34cbfa8fce2dn%40googlegroups.com.


[google-appengine] Re: Not able to list images in GCR

2021-11-09 Thread 'Darrell (Cloud Platform Support)' via Google App Engine
Hi,

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=" command[1]. However, 
I think you should omit the "2.0" from the "repository" flag as I believe 
that "gcr.io/projectid/repo-name/2.0" is the image name. 
*$ gcloud container images list --repository gcr.io/projectid/repo-name*

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 gcr.io/projectid/repo-name/2.0*

I hope you'll find information provided above useful.


[1] 
https://cloud.google.com/sdk/gcloud/reference/container/images/list#--repository
[2] https://cloud.google.com/sdk/gcloud/reference/container/images/list-tags

On Monday, November 8, 2021 at 2:46:55 PM UTC-5 ravia...@gmail.com wrote:

> Hi, 
> raviatloop@cloudshell:~ ()$ gcloud container images list --repository=
> gcr.io/projectid/repo-name/2.0
> 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 gcr.io/projectid/repo-name/2.0
>
> Thanks for the help.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/425c3ab0-ccb6-477d-a262-59eeb82c8a59n%40googlegroups.com.