3 Star 0 Fork 1

Gitee 极速下载 / registry-du

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/n0vad3v/registry-du
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

registry-du

Give you a better view of your Docker registry disk usage.

This small tool will analysis your Docker registry(vanilla or Harbor both work), and shows how many space does those project use, it also shows top disk-consuming 20 images in the registry.

Installation

pip3 install registry-du

Usage

registry-du /path/to/registry/docker/registry/v2

Example output

➜  registry-du /home/X/du-demo/registry/data/docker/registry/v2

Registry Path is: /home/X/du-demo/registry/data/docker/registry/v2
+Project-Size----------+-----------+
| Project Name         | Size(MiB) |
+----------------------+-----------+
| jellyfin             | 277.55    |
| library              | 147.62    |
| mongo-express:latest | 47.2      |
+----------------------+-----------+
+Image-Size----------------+-----------+
| Image Name               | Size(MiB) |
+--------------------------+-----------+
| jellyfin/jellyfin:latest | 277.55    |
| library/mysql:5.7        | 147.62    |
| mongo-express:latest     | 47.2      |
+--------------------------+-----------+

空文件

简介

Docker Registry(包括 Harbor)默认没有可以直观查看使用空间的工具,registry-du 这个工具就可以用来统计 Registry 的 Project 空间占 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/mirrors/registry-du.git
git@gitee.com:mirrors/registry-du.git
mirrors
registry-du
registry-du
master

搜索帮助