Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Tool which will calculates disk usage statistics of docker registry

Project description

Docker Registry Statistics

This project aims to create tool which will calculate disk usage statistics of docker registry.


Project requires at least Python3.6, next just install package into virtualenv (or system if you don't mind)

pip install gitlab-registry git+


Usage is fairly simple:

docker_registry_statistics  <Path to registry> <Command>

Right now these are implemented commands:

  • statistics
  • orphaned_images
  • unused_blobs

Note that registry path should contain directory structure like docker/registry/v2/... for example this directory for Gitlab by default is /var/opt/gitlab/gitlab-rails/shared/registry.

statistics command

Goes through all tags, images and blobs and sumarized disk usage statistics, per repository and overall disk usage of registry.

orphaned_images command

Lists all images that are no longer used as a current image for tag under which they were pushed.

unused_blobs command

Lists all blobs that are not used by any image and are just using up disk space.

Project details

Download files

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

Files for docker-registry-statistics, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size docker-registry-statistics-0.1.0.tar.gz (6.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page