Gabriel Petrovay
Gabriel Petrovay

Reputation: 21924

How can I find out how much space is used by my container images from the Google Container Registry

I have pushed container images using gcloud docker push to the Google Container Registry. Two questions:

How do I see how much space all my images use? (I can see individual images but I want a total in order not to navigate to all and make a sum)

Upvotes: 7

Views: 1702

Answers (1)

Sandeep Dinesh
Sandeep Dinesh

Reputation: 2135

Good questions!

All your Docker images are stored in a Google Cloud Storage bucket called artifacts.<PROJECT-ID>.appspot.com (Replace <PROJECT-ID> with your project's ID)

To find the total space, run gsutil du gs://artifacts.<PROJECT-ID>.appspot.com

Upvotes: 4

Related Questions