{"id":41779410,"url":"https://github.com/drone/drone-gc","last_synced_at":"2026-01-25T03:35:00.249Z","repository":{"id":39988512,"uuid":"127509174","full_name":"drone/drone-gc","owner":"drone","description":"Garbage collection of unused docker resources","archived":false,"fork":false,"pushed_at":"2023-01-31T16:57:27.000Z","size":58,"stargazers_count":73,"open_issues_count":2,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-06-18T21:47:46.408Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-31T07:22:58.000Z","updated_at":"2024-04-04T06:07:58.000Z","dependencies_parsed_at":"2023-02-02T18:02:19.600Z","dependency_job_id":null,"html_url":"https://github.com/drone/drone-gc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/drone/drone-gc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Fdrone-gc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Fdrone-gc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Fdrone-gc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Fdrone-gc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drone","download_url":"https://codeload.github.com/drone/drone-gc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Fdrone-gc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28742975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T02:46:29.005Z","status":"ssl_error","status_checked_at":"2026-01-25T02:44:29.968Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-25T03:35:00.180Z","updated_at":"2026-01-25T03:35:00.240Z","avatar_url":"https://github.com/drone.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"__drone-gc__ is a simple daemon that periodically removes unused docker resources. The garbage collector is optimized for continuous integration systems. It uses an lrfu algorithm to control the size of your image cache, while retaining the most frequently used images.\n\nInstallation:\n\n```\ndocker run -d \\\n  --volume=/var/run/docker.sock:/var/run/docker.sock \\\n  --env=GC_DEBUG=true \\\n  --env=GC_CACHE=5gb \\\n  --env=GC_INTERVAL=5m \\\n  --restart=always \\\n  --name=gc drone/gc\n```\n\nConfiguration:\n\n\u003cdl\u003e\n\u003cdt\u003e\u003ccode\u003eGC_DEBUG\u003c/code\u003e\u003c/dt\u003e\n\u003cdd\u003eEnable debug mode\u003c/dd\u003e\n\n\u003cdt\u003e\u003ccode\u003eGC_DEBUG_PRETTY=false\u003c/code\u003e\u003c/dt\u003e\n\u003cdd\u003ePretty print the logs\u003c/dd\u003e\n\n\u003cdt\u003e\u003ccode\u003eGC_DEBUG_COLOR=false\u003c/code\u003e\u003c/dt\u003e\n\u003cdd\u003ePretty print the logs with color\u003c/dd\u003e\n\n\u003cdt\u003e\u003ccode\u003eGC_IGNORE_IMAGES\u003c/code\u003e\u003c/dt\u003e\n\u003cdd\u003eComma-separated list of images to ignore. Supports globbing.\u003c/dd\u003e\n\n\u003cdt\u003e\u003ccode\u003eGC_IGNORE_CONTAINERS\u003c/code\u003e\u003c/dt\u003e\n\u003cdd\u003eComma-separate list of container names to ignore. Support globbing.\u003c/dd\u003e\n\n\u003cdt\u003e\u003ccode\u003eGC_INTERVAL=5m\u003c/code\u003e\u003c/dt\u003e\n\u003cdd\u003eInterval at which the garbage collector is executed\u003c/dd\u003e\n\n\u003cdt\u003e\u003ccode\u003eGC_CACHE=5gb\u003c/code\u003e\u003c/dt\u003e\n\u003cdd\u003eMaximum image cache size\u003c/dd\u003e\n\u003c/dl\u003e\n\n__Need help?__ Please post questions or comments to our [community forum](https://discourse.drone.io/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrone%2Fdrone-gc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrone%2Fdrone-gc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrone%2Fdrone-gc/lists"}