How can I find out how much space is used by my co

2019-06-25 13:51发布

问题:

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)

回答1:

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