Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

registry_du-0.0.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file registry_du-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: registry_du-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for registry_du-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3b971c3d3cfa2a2951dde3c58a07033539c21cd720adacd5ac19b9adf6492b9b
MD5 9bf12369295f749dc801f974a2ce18d7
BLAKE2b-256 2d0efb0eb26341bbc5384e2ebe9fb12186f86c59ed1c2d3458d1b18dabc41d3f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page