{"id":18841961,"url":"https://github.com/ahmetozer/repo-cache","last_synced_at":"2026-05-14T21:33:13.355Z","repository":{"id":136065575,"uuid":"239803378","full_name":"ahmetozer/repo-cache","owner":"ahmetozer","description":"Caching package manager packets.  The reason for the design of this system is to cache the requests coming from the package management in the containers, and thus, to save the packages from the bandwith and to load the packages faster.","archived":false,"fork":false,"pushed_at":"2020-09-06T20:45:36.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T09:49:52.756Z","etag":null,"topics":["alpine","linux","raspberry-pi","repository","ubuntu"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/ahmetozer/repo-cache","language":"HTML","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/ahmetozer.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":"2020-02-11T15:59:38.000Z","updated_at":"2020-09-06T20:45:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"cea787f0-42f5-488c-8fbb-0e11c93ddb6e","html_url":"https://github.com/ahmetozer/repo-cache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ahmetozer/repo-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetozer%2Frepo-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetozer%2Frepo-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetozer%2Frepo-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetozer%2Frepo-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmetozer","download_url":"https://codeload.github.com/ahmetozer/repo-cache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetozer%2Frepo-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33044123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["alpine","linux","raspberry-pi","repository","ubuntu"],"created_at":"2024-11-08T02:53:13.087Z","updated_at":"2026-05-14T21:33:13.338Z","avatar_url":"https://github.com/ahmetozer.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Repo-Cache\nRepository Cache Container\n\nThis Container is designed for Cache the package installer contents to reduce network bandwidth and also increase docker build speed.\n\n\nYou can use with docker port share for the external accessibility.\n\n```bash\ndocker run --restart always -it -p 80:80 ahmetozer/repo-cache\n```\n\n## Local or without docker port share\nIf you don't want to expose your Container to everyone you can create a new network and use with only local network.\n\n```bash\ndocker network create mynewnet\n```\n### Check the static IP address for Container\nCheck your IP addresses which ever you want to use for repository cache.\n\n```bash\nserver:~ docker inspect mynewnet | grep Subnet\n\"Subnet\": \"172.19.0.0/16\",\n\"Subnet\": \"2001:4700:4700:1111:f6a0::/80\",\n\nserver:~ docker inspect bridge | grep 172.19.0.30 \u0026\u0026 echo 'your IP is used, please select another one' || echo 'Your IP is not used'\nYour IP is not used\n```\n\n### Start Container\nSet static IP address with --ip argumant and also for the automatically start Container requires custom --restart policy.\n```bash\ndocker run --ip 172.19.0.30 --restart always --network mynewnet ahmetozer/repo-cache\n```\n\n### Forwarding hostnames to Container\n\n```bash\nIP=172.19.0.30\necho $IP dl-cdn.alpinelinux.org archive.ubuntu.com \u003e\u003e /etc/hostnames\n```\n\nYour Installation is completed and ready to use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmetozer%2Frepo-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmetozer%2Frepo-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmetozer%2Frepo-cache/lists"}