docker run -d --name squid --net host --privileged skopciewski/squid
or with persistent cache
docker run -d --name squid --net host --privileged -v /tmp/cache:/var/cache/squid skopciewski/squid
Enable
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to 3128 -w
Disable
iptables -t nat -D PREROUTING -p tcp --dport 80 -j REDIRECT --to 3128 -w
docker exec -it squid /bin/sh
Content type
Image
Digest
sha256:6d2a684e7…
Size
17.6 MB
Last updated
about 5 years ago
docker pull skopciewski/squid