Sign inSign up

skopciewski/squid

By skopciewski

Updated about 5 years ago

Image
0

1.2K

skopciewski/squid repository overview

Usage

    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
Iptables

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
Inspecting the container
    docker exec -it squid /bin/sh

Tag summary

Content type

Image

Digest

sha256:6d2a684e7

Size

17.6 MB

Last updated

about 5 years ago

docker pull skopciewski/squid