{"id":21314444,"url":"https://github.com/polyconseil/docker-registry-purger","last_synced_at":"2025-07-12T01:31:12.269Z","repository":{"id":57423305,"uuid":"100728612","full_name":"Polyconseil/docker-registry-purger","owner":"Polyconseil","description":"A simple cleaner for private docker-registries","archived":false,"fork":false,"pushed_at":"2020-04-10T09:43:40.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-06-23T20:51:57.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Polyconseil.png","metadata":{"files":{"readme":"README.rst","changelog":"ChangeLog.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-18T16:00:35.000Z","updated_at":"2022-11-16T16:27:58.000Z","dependencies_parsed_at":"2022-09-05T11:10:47.300Z","dependency_job_id":null,"html_url":"https://github.com/Polyconseil/docker-registry-purger","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Polyconseil/docker-registry-purger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Fdocker-registry-purger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Fdocker-registry-purger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Fdocker-registry-purger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Fdocker-registry-purger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Polyconseil","download_url":"https://codeload.github.com/Polyconseil/docker-registry-purger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Fdocker-registry-purger/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264923080,"owners_count":23683716,"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":[],"created_at":"2024-11-21T18:12:56.405Z","updated_at":"2025-07-12T01:31:11.975Z","avatar_url":"https://github.com/Polyconseil.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Docker Registry Purger\n======================\n\nA simple cleaner for private docker-registries.\n\nInstallation\n------------\n\n.. code-block:: console\n\n    $ pip install docker-registry-purger\n\nUsage\n-----\n\nClean registry using standard options (i.e keep at less 7 versions, drop only\npackages older than 180 days, developement packages older than 30 days and rc\npackages older than 90 days).\n\n.. code-block:: console\n\n    $ docker-registry-purger 'https://[username]:[password]@[your_repository]'\n    $ # OR if you have your credentials in ``.netrc``\n    $ docker-registry-purger 'https://[your_repository]'\n\nThis script only drops references to blobs, the blobs themself are not deleted,\nto remove them you have to follow the procedure describe on\nhttps://docs.docker.com/registry/garbage-collection/#run-garbage-collection.\n\nYou can test this script with the ``dry-run`` option:\n\n.. code-block:: console\n\n    $ docker-registry-purger --dry-run 'https://[username]:[password]@[your_repository]'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolyconseil%2Fdocker-registry-purger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolyconseil%2Fdocker-registry-purger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolyconseil%2Fdocker-registry-purger/lists"}