{"id":13707149,"url":"https://github.com/tumblr/docker-registry-pruner","last_synced_at":"2025-04-14T19:44:31.536Z","repository":{"id":62462540,"uuid":"191243094","full_name":"tumblr/docker-registry-pruner","owner":"tumblr","description":"Tool to apply retention logic to docker images in a Docker Registry","archived":false,"fork":false,"pushed_at":"2020-07-13T22:32:43.000Z","size":60,"stargazers_count":130,"open_issues_count":3,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-28T08:11:11.518Z","etag":null,"topics":["cleanup","docker","docker-image","docker-image-registry","maintenance","registry"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tumblr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-10T20:45:30.000Z","updated_at":"2025-02-08T03:54:53.000Z","dependencies_parsed_at":"2022-11-02T01:16:10.489Z","dependency_job_id":null,"html_url":"https://github.com/tumblr/docker-registry-pruner","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumblr%2Fdocker-registry-pruner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumblr%2Fdocker-registry-pruner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumblr%2Fdocker-registry-pruner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumblr%2Fdocker-registry-pruner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tumblr","download_url":"https://codeload.github.com/tumblr/docker-registry-pruner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248950000,"owners_count":21188187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cleanup","docker","docker-image","docker-image-registry","maintenance","registry"],"created_at":"2024-08-02T22:01:21.808Z","updated_at":"2025-04-14T19:44:31.515Z","avatar_url":"https://github.com/tumblr.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# docker-registry-pruner 🐳✂️\n\n\n`docker-registry-pruner` is a rules-based tool that applies business logic to docker images in a Docker Registry storage system for retention.\n\n![GitHub release](https://img.shields.io/github/release/tumblr/docker-registry-pruner.svg) [![Build Status](https://travis-ci.org/tumblr/docker-registry-pruner.svg?branch=master)](https://travis-ci.org/tumblr/docker-registry-pruner) [![Docker Image](https://img.shields.io/badge/Docker%20Hub-tumblr%2Fdocker--registry--pruner-blue.svg)](https://hub.docker.com/r/tumblr/docker-registry-pruner) ![Docker Automated build](https://img.shields.io/docker/automated/tumblr/docker-registry-pruner.svg) ![Docker Build Status](https://img.shields.io/docker/build/tumblr/docker-registry-pruner.svg) ![MicroBadger Size](https://img.shields.io/microbadger/image-size/tumblr/docker-registry-pruner.svg) ![Docker Pulls](https://img.shields.io/docker/pulls/tumblr/docker-registry-pruner.svg) ![Docker Stars](https://img.shields.io/docker/stars/tumblr/docker-registry-pruner.svg) [![Godoc](https://godoc.org/github.com/tumblr/docker-registry-pruner?status.svg)](http://godoc.org/github.com/tumblr/docker-registry-pruner)\n\n# Documentation\n\n## Quickstart\n\nSee [configuration overview](/docs/config.md) for how to write a config file. Then, map it into your container and run the report!\n\n```\n$ docker run -ti -v $(pwd)/config:/app/config --rm tumblr/docker-registry-pruner --mode report --config ./config/myconfig.yaml\n```\n\nOnce you are happy with the report, you can perform pruning! WARNING: this is destructive!\n\n```\n$ docker run -ti -v $(pwd)/config:/app/config --rm tumblr/docker-registry-pruner --mode prune --config ./config/myconfig.yaml\n```\n\n## Configuration\n\nSee the [configuration overview](/docs/config.md) for how to write config files to apply retention rules to images in your Registry.\n\n# Examples\n\nCheck out [docs/examples.md](/docs/examples.md) for examples using the CLI tool.\n\n# Hacking\n\nSee [docs/hacking.md](/docs/hacking.md) for how to hack and contribute.\n\n# License\n\n[Apache 2.0](/LICENSE.txt)\n\nCopyright 2019, Tumblr, Inc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftumblr%2Fdocker-registry-pruner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftumblr%2Fdocker-registry-pruner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftumblr%2Fdocker-registry-pruner/lists"}