Skip to main content

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      |
+--------------------------+-----------+

Metadata

Release files for registry-du 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for registry-du 0.0.2
File Interpreter ABI Platform Actions
registry_du-0.0.2-py3-none-any.whl Python 3 none any Details for registry_du-0.0.2-py3-none-any.whl

Release files / registry_du-0.0.2-py3-none-any.whl

Download URL registry_du-0.0.2-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b971c3d3cfa2a2951dde3c58a07033539c21cd720adacd5ac19b9adf6492b9b
BLAKE2b-256 checksum
How to use checksums
2d0efb0eb26341bbc5384e2ebe9fb12186f86c59ed1c2d3458d1b18dabc41d3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

Security for registry-du 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page