Skip to content

Latest commit

 

History

History
18 lines (17 loc) · 690 Bytes

README.md

File metadata and controls

18 lines (17 loc) · 690 Bytes

registry-inventory-generator

A tool to generate report on docker registry usage (images, tags, size,date of upload etc)

Usage:

  • Setup below environment variables
  • REGISTRY_HOST (url for your docker private registry ex:registry.docker.com ,https://registry.docker.excom )
  • REGISTRY_USERNAME
  • REGISTRY_PASSWORD
  • Run ./registry-inventory-generator (Be patient ,it will take time to go through each and every image/tags and pull the details)
  • Output: Output file will be created with below format ${registry_name}.reports.json
  • Logs: Logs will be available under registry_reports.log

Development

  • Tested with go version 1.16.4
  • clone the repo and "go build"