Privoxy构建代理服务器
来自苹果
EXPOSE 8118
run apk---no-cache---- updateaddprivoxywgetca-certificatesbashp7zip
wget 3359 s3. amazonaws.com/ab2p/ab2p.all _ RUS.7z
mkdir temp
7za e ab2p.all_rus.7z -y -otemp
CP temp/ab2p.system.action temp/ab2p.action temp/ab2p.system.filter temp/ab2p.filter/etc/privoxy
sed-I ' ' s/127.0.0.0.1:8118/0.0.0. 033608118/'/etc/privoxy/config
sed-I ' ' s/enable-edit-actions /enable-edit-actions1/'/etc/privoxy/config
sed-I ' ' s/#最大客户端连接/最大客户端连接/'/etc/privoxy/config
sed-I ' ' s/accept-intercepted-requests /accept-intercepted-requests1/'/etc/privoxy/config
sed-I ' ' s/http/https/g '/etc/privoxy/ab2p.system.filter
rm -Rf temp ab2p.all_rus.7z
apk del bash p7zip
runchownprivoxy.privoxy/etc/privoxy/*
输入点[ '隐私' ]
CMD ['--no-daemon '、'--user '、' privoxy '、'/etc/privoxy/config']
运行
docker run-d---- restart unless-stopped---name privoxy-p 811833608118 splazit/privoxy-alpine
测试
curl-vv https://www.bing.com---- proxy localhost :8118