Search code examples
dockergoogle-cloud-platformcontainersgcloudgoogle-artifact-registry

Google Artifact Registry (GAR) summary of space used by images


I'd like to be able to identify how much space is used by all images with a certain tag. The idea for this, is to be able to tell which dev team is consuming "too much" space.

Each dev team, will use a particular container TAG that will help identify them.

I tried using gcloud cli for this matter but I was unable to find a way to achieve such thing.

Any ideas?


Solution

  • As of the moment, you can only determine the size of Google Artifact Registry per image. You can determine the size in two ways:

    • Through the Repositories page
    • Or by entering the code below through gcloud CLI:
      gcloud artifacts docker images list
      

    You may check this documentation on listing images for additional information.

    You may also want to file this as a feature request through this link. There's no specific ETA on this but you can check its progress by following the ticket once it's created.