如何从Google集装箱注册表中找到我的容器图像使用的空间 [英] How can I find out how much space is used by my container images from the Google Container Registry
问题描述
我已经使用 gcloud docker push
将容器图像推送到Google容器注册表。两个问题:
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)
推荐答案
好的问题!
您的所有Docker图像都存储在 Google云端存储桶称为工件。< PROJECT-ID> .appspot.com
(替换< PROJECT-ID>
与项目的ID)
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)
要查找总空间,请运行 gsutil du gs://artifacts.< PROJECT-ID> .appspot.com
To find the total space, run gsutil du gs://artifacts.<PROJECT-ID>.appspot.com
这篇关于如何从Google集装箱注册表中找到我的容器图像使用的空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!