{"id":16288440,"url":"https://github.com/dekstroza/docker-proxy","last_synced_at":"2026-01-20T06:32:32.592Z","repository":{"id":88779527,"uuid":"47752193","full_name":"dekstroza/docker-proxy","owner":"dekstroza","description":"Docker container running squid caching http/https traffic on ports 80,443 and 8443","archived":false,"fork":false,"pushed_at":"2015-12-10T10:00:40.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T07:14:23.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dekstroza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-10T09:40:12.000Z","updated_at":"2015-12-10T09:43:58.000Z","dependencies_parsed_at":"2023-03-14T19:30:30.132Z","dependency_job_id":null,"html_url":"https://github.com/dekstroza/docker-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dekstroza/docker-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dekstroza%2Fdocker-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dekstroza%2Fdocker-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dekstroza%2Fdocker-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dekstroza%2Fdocker-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dekstroza","download_url":"https://codeload.github.com/dekstroza/docker-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dekstroza%2Fdocker-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28597636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: 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":"2024-10-10T19:48:19.746Z","updated_at":"2026-01-20T06:32:32.578Z","avatar_url":"https://github.com/dekstroza.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-proxy\nDocker container running squid caching http/https traffic on ports 80,443 and 8443\n\n\n## Backround\n\nOnce you start building enough containers you will get tired of waiting for rpm's or tgz to download from Internet, and you will wish for some caching to speed things up - even more so if you are on slow internet, or wish to work offline. There are more then few of these squid in containers, this one works for me, has support for http/https and https works both on 443 and 8443, plus it uses mounted volume on the host to keep cache files between runs.\n\n\nBased on hpess/dockerproxy (https://github.com/Hewlett-Packard-ESS/docker-proxy), so all kudos go there. Extended to cache traffic to 8443 as well, since some sites don't use 443 and use 8443 instead.\n\n## Getting started\n\n1. Run the build.sh to build the image\n2. Create directory where you wish to store cached content and set env variable CACHE_DIR=your_dir\n3. Run run-proxy.sh\n\nSquid inside container will transparently redirect all docker containers through it, so all traffic destined to ports 80, 443 and 8443 will go through it. Since squid will be using ssl-bump for https (443 and 8443) usual notes apply on it, for more details see: http://wiki.squid-cache.org/Features/SslBump\n\nTo stop container, run stop-proxy.sh and hit CTRL+C, it will clean up iptables rules it has set up for transparent proxying.\n\n## Problems\n\nYou can always start shell inside the container and see what happens with:\n```bash\ndocker exec -it CONTAINER_ID bash\ntail -f /var/log/squid/access\n```\n\nHappy hacking.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdekstroza%2Fdocker-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdekstroza%2Fdocker-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdekstroza%2Fdocker-proxy/lists"}