docker - How to list the published container images in the Google Container Registry using gcloud or another CLI -


is there gcloud api or other command line interface (cli) access list of published container images in private google container registry? (that container registry inside google cloud platform project)

gcloud container not seem help:

$ gcloud container usage: gcloud container [optional flags] <group | command>   group may           clusters | operations   command may         get-server-config  deploy , manage clusters of machines running containers.  flags:   --zone zone, -z zone   compute zone (e.g. us-central1-a) cluster  global flags:   run `gcloud -h` description of flags available commands.  command groups:   clusters               deploy , teardown google container engine clusters.   operations             , list operations google container engine                          clusters.  commands:   get-server-config      container engine server config. 

i don't want use gcloud docker list images because wants connect particular docker daemon don't have. unless there way tell gcloud docker connect remote public docker daemon can read private containers pushed registry through project.

we released new command list images in repository! can try out with:

gcloud alpha container images list --repository=gcr.io/$myrepository 

if want see specific tags image can use:

gcloud alpha container images list-tags gcr.io/$myrepository/$myimage 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -