https://github.com/ymmt2005/squid-container
A rootless container of Squid proxy
https://github.com/ymmt2005/squid-container
container docker rootless squid
Last synced: 4 months ago
JSON representation
A rootless container of Squid proxy
- Host: GitHub
- URL: https://github.com/ymmt2005/squid-container
- Owner: ymmt2005
- License: unlicense
- Created: 2021-03-07T05:41:19.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-27T01:17:53.000Z (almost 5 years ago)
- Last Synced: 2025-07-14T15:07:46.209Z (7 months ago)
- Topics: container, docker, rootless, squid
- Language: Dockerfile
- Homepage:
- Size: 7.81 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Squid container
This directory contains a Dockerfile that runs [Squid](http://www.squid-cache.org/) w/o root privileges.
## Usage
### Run with the default configuration
$ docker run --rm -d -p 3128:3128 --read-only --tmpfs /var/spool/squid ghcr.io/ymmt2005/squid
### Launch Squid with specific config file
Prepare `squid.conf`, then execute following command.
$ docker run --rm -d -p 3128:3128 --read-only --tmpfs /var/spool/squid \
-v /path/to/your/squid.conf:/etc/squid/squid.conf:ro \
ghcr.io/ymmt2005/squid
Your `squid.conf` must have the following configurations:
pid_filename none
logfile_rotate 0
access_log stdio:/dev/stdout
cache_log stdio:/dev/stderr
## Docker images
[ghcr.io/ymmt2005/squid](https://github.com/users/ymmt2005/packages/container/package/squid)