FROM alpine:3.20
RUN apk add -U privoxy \
&& for name in `ls /etc/privoxy/*.new`;do mv $name ${name%.new};done
CMD ["/usr/sbin/privoxy", "--no-daemon", "/etc/privoxy/config"]
docker build -t szcxo/privoxy:3.0.34 .
services:
privoxy:
container_name: privoxy
image: szcxo/privoxy:3.0.34
restart: always
network_mode: host
volumes:
- ./config:/etc/privoxy/config:ro
# get config template
docker run -it --rm -v $(pwd):/code -w /code szcxo/privoxy:3.0.34 cp /etc/privoxy/config ./config.example
listen-address 0.0.0.0:8118 # modify
forward-socks5 / 127.0.0.1:1080 . # add
Content type
Image
Digest
sha256:932818a36…
Size
5.4 MB
Last updated
almost 2 years ago
docker pull szcxo/privoxy:3.0.34