Find the list of Google Container Registry public images

后端 未结 4 846
面向向阳花
面向向阳花 2021-01-30 06:50

Where can I find the list of GCR public images? In case of docker images, we can list it in hub.docker.com. But I couldn\'t find anything like that for GCR.

相关标签:
4条回答
  • 2021-01-30 07:14

    The link to the list of Google Container Registry public images is: https://console.cloud.google.com/gcr/images/google-containers/GLOBAL.

    0 讨论(0)
  • 2021-01-30 07:14

    I think there's a different answer to this question now:

    You can run:

    $ gcloud container images list --project google-containers
    
    NAME
    gcr.io/google-containers/addon-resizer
    gcr.io/google-containers/aggregator
    gcr.io/google-containers/alpine-iptables-amd64
    gcr.io/google-containers/alpine-iptables-arm
    gcr.io/google-containers/alpine-iptables-arm64
    gcr.io/google-containers/alpine-with-bash
    gcr.io/google-containers/apparmor-loader
    gcr.io/google-containers/busybox
    gcr.io/google-containers/cadvisor
    ...
    

    You can also directly use gsutil to list all the blobs in a public GCR bucket with:

    gsutil list gs://artifacts.PROJECT_ID.appspot.com/containers/repositories
    
    0 讨论(0)
  • 2021-01-30 07:27

    tl;dr There is no such thing, at least today.

    GCR is first and foremost a private registry. However, we respect the ACL's that users put on the GCS bucket backing their repository. This is how we offer anonymous read to buckets like:

    gcr.io/google-containers/...
    gcr.io/google-appengine/...
    

    Given a specific project, you can search within it using:

    docker search gcr.io/google-containers/<substring>
    
    0 讨论(0)
  • 2021-01-30 07:30

    "Distroless" images are also in public:

    • Full list of distroless images on GCR: https://console.cloud.google.com/gcr/images/distroless
    • Distroless repo on GitHub: https://github.com/GoogleContainerTools/distroless
    0 讨论(0)
提交回复
热议问题