Tool which will calculates disk usage statistics of docker registry
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+https://github.com/pbabics/docker-registry-statistics.git@master
Usage is fairly simple:
docker_registry_statistics <Path to registry> <Command>
Right now these are implemented commands:
Note that registry path should contain directory structure like
for example this directory for Gitlab by default is
Goes through all tags, images and blobs and sumarized disk usage statistics, per repository and overall disk usage of registry.
Lists all images that are no longer used as a current image for tag under which they were pushed.
Lists all blobs that are not used by any image and are just using up disk space.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for docker-registry-statistics-0.1.0.tar.gz