{"id":15444232,"url":"https://github.com/yoloftw/node-docker-prune","last_synced_at":"2026-03-04T10:03:21.282Z","repository":{"id":201082070,"uuid":"706901966","full_name":"YoloFTW/Node-Docker-Prune","owner":"YoloFTW","description":"Node-Docker-Prune is a Node.js app designed to automate the process of pruning unused docker images","archived":false,"fork":false,"pushed_at":"2024-06-29T11:14:48.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-18T14:10:39.755Z","etag":null,"topics":["docker","docker-prune","node","node-schedule"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YoloFTW.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}},"created_at":"2023-10-18T20:57:07.000Z","updated_at":"2024-06-29T11:14:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"7da7ceab-4540-4b4e-ad68-4d7b94752c93","html_url":"https://github.com/YoloFTW/Node-Docker-Prune","commit_stats":null,"previous_names":["yoloftw/node-docker-prune"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/YoloFTW/Node-Docker-Prune","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YoloFTW%2FNode-Docker-Prune","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YoloFTW%2FNode-Docker-Prune/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YoloFTW%2FNode-Docker-Prune/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YoloFTW%2FNode-Docker-Prune/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YoloFTW","download_url":"https://codeload.github.com/YoloFTW/Node-Docker-Prune/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YoloFTW%2FNode-Docker-Prune/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30078307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["docker","docker-prune","node","node-schedule"],"created_at":"2024-10-01T19:39:53.696Z","updated_at":"2026-03-04T10:03:21.261Z","avatar_url":"https://github.com/YoloFTW.png","language":"JavaScript","readme":"\u003ch3 align=\"center\"\u003eNode-Docker-Prune\u003c/h3\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![Status](https://img.shields.io/badge/status-active-success.svg)]()\n[![GitHub Issues](https://img.shields.io/github/issues/YoloFTW/Node-Docker-Prune.svg)](https://github.com/YoloFTW/Node-Docker-Prune/issues)\n[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/YoloFTW/Node-Docker-Prune.svg)](https://github.com/YoloFTW/Node-Docker-Prune/pulls)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)\n\n\u003c/div\u003e\n\n---\n\n## 📝 Table of Contents\n\n- [About](#about)\n\n- [Installing](#installing)\n\n- [Configuration](#Configuration)\n\n- [Usage](#usage)\n\n- [License](#License)\n\n- [Contribution](#Contribution)\n\n- [Sponsored by](#SponsoredBy)\n\n- [Authors](#authors)\n\n\u003c/br\u003e\n\n## About \u003ca name = \"about\"\u003e\u003c/a\u003e\n\nNode-Docker-Prune is a Node.js app designed to automate the process of pruning unused docker images by running the \"docker image prune -a\" command periodically. This app is particularly useful for managing game servers, web applications, or any service that requires periodic pruning of docker images to ensure optimal performance.\n\n\u003c/br\u003e\n\n## Installing \u003ca name=\"installing\"\u003e\u003c/a\u003e\n\nTo install Node-Docker-Prune, clone the Git repository to your local machine:\n\n```bash\ngit clone https://github.com/YoloFTW/Node-Docker-Prune.git\n\ncd Node-Docker-Prune\n\nnpm install\n```\n\n\u003c/br\u003e\n\n\n## Configuration \u003ca name=\"Configuration\"\u003e\u003c/a\u003e\n\nTo configure Node-Docker-Prune edit the .env file with the correct time and discord webhook url.\n\nThe default time is set at 00:00:00 each day.\n\nYou can also edit the \"TITLE\" variable to change how the module is reflected in the webhook message.\n\nNode-Docker-Prune will also need elevated privilages to run. This can be acomplished either by running as sudo **NOT RECOMENDED** or by running the app as a user with access to docker commands.\n\n\u003c/br\u003e\n\nThis can be done with:\n\n```bash\nsudo adduser newuser\n```\n\n\u003c/br\u003e\n\nThe new user then can be added to the docker group with:\n\n```shell\nsudo usermod -aG docker newuser\n```\n\n\u003c/br\u003e\n\n\n## Usage \u003ca name=\"usage\"\u003e\u003c/a\u003e\n\nTo start Node-Docker-Prune, run the following command:\n\n```bash\nnode index.js\n```\n\n\u003c/br\u003e\n\nIf you want to use the new user whilst logged into a different acoount, this can be acomplished with:\n\n```bash\nsudo -u newuser node index.js\n```\n\n\nOnce configured and started, Node-Docker-Prune will handle the automatic pruning of unused docker images as per the defined schedule. It will also send status updates to the specified Discord webhook after each restart.\n\n\u003c/br\u003e\n\n## License \u003ca name=\"License\"\u003e\u003c/a\u003e\nThis project is licensed under the MIT License. See the [LICENSE](/LICENSE) file for details.\n\n\u003c/br\u003e\n\n## Contribution \u003ca name=\"Contribution\"\u003e\u003c/a\u003e\n\nContributions are welcome! If you find a bug or have any suggestions, please open an issue or create a pull request.\n\n\u003c/br\u003e\n\n## Sponsored by \u003ca name=\"SponsoredBy\"\u003e\u003c/a\u003e\n\nThis has been sponsored by [Cybrancee](https://cybrancee.com/andreisawesome)\n\n\u003c/br\u003e\n\n## Authors \u003ca name = \"authors\"\u003e\u003c/a\u003e\n\n- [@YoloFTW](https://github.com/YoloFTW)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoloftw%2Fnode-docker-prune","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoloftw%2Fnode-docker-prune","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoloftw%2Fnode-docker-prune/lists"}