{"id":26136221,"url":"https://github.com/cpfriend1721994/k8s-docker-clean","last_synced_at":"2025-10-11T05:35:32.164Z","repository":{"id":113023195,"uuid":"373070445","full_name":"cpfriend1721994/k8s-docker-clean","owner":"cpfriend1721994","description":"Cleans up exited containers, dangling images/volumes and unused images on each k8s nodes, running as a DaemonSet.","archived":false,"fork":false,"pushed_at":"2021-06-02T15:13:51.000Z","size":24,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-12T01:07:26.490Z","etag":null,"topics":["docker","dockerfile","kubernetes"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/tunnm/k8s-docker-clean","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cpfriend1721994.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2021-06-02T06:57:36.000Z","updated_at":"2025-05-09T06:27:31.000Z","dependencies_parsed_at":"2023-06-05T17:15:11.501Z","dependency_job_id":null,"html_url":"https://github.com/cpfriend1721994/k8s-docker-clean","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cpfriend1721994/k8s-docker-clean","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpfriend1721994%2Fk8s-docker-clean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpfriend1721994%2Fk8s-docker-clean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpfriend1721994%2Fk8s-docker-clean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpfriend1721994%2Fk8s-docker-clean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpfriend1721994","download_url":"https://codeload.github.com/cpfriend1721994/k8s-docker-clean/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpfriend1721994%2Fk8s-docker-clean/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006350,"owners_count":26084085,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["docker","dockerfile","kubernetes"],"created_at":"2025-03-11T00:56:55.024Z","updated_at":"2025-10-11T05:35:32.160Z","avatar_url":"https://github.com/cpfriend1721994.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## k8s-docker-cleanup\n\nCleans up exited containers, dangling images/volumes and unused images on each k8s nodes, running as a DaemonSet.\n\n\n\n### Deployment\n\n``` bash\nkubectl apply -f k8s-docker-clean.yml\n```\n\n\n\n### Environment Variables\nyou can set `DOCKER_CLEAN_INTERVAL` to modify the interval when it cleans up; defaults to 12 hours (43200s).\n\n\n\n### Notes\n - Based on docker server version on k8s nodes, custom docker images tag version on images (17, 18, 19, 20), or just use **latest** for lastest version of docker\n - Based on k8s version custom Daemonset apiVersion or just use default **apps/v1**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpfriend1721994%2Fk8s-docker-clean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpfriend1721994%2Fk8s-docker-clean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpfriend1721994%2Fk8s-docker-clean/lists"}