Squid docker image build on latest stable Ubuntu base.
docker run --name squid -d --restart=always \
-p 3128:3128 \
-v /srv/squid/cache:/var/spool/squid \
zenman94/squid
You can mount your personnal squid.conf in /etc/squid/squid.conf
docker run --name squid -d --restart=always \
-p 3128:3128 \
-v /srv/squid/cache:/var/spool/squid \
-v /srv/squid.conf:/etc/squid/squid.conf \
zenman94/squid
Please note that access.log is redirected to /dev/stdoutand cache.log is redirected to /dev/stderr.
You can also disable some logging in your squid.conf :
cache_log none
Please do not modify cache_effective_user or cache_effective_group.
Content type
Image
Digest
Size
59.3 MB
Last updated
over 4 years ago
docker pull zenman94/squid