The smallest (15 MB) docker image with Tor and Privoxy on Alpine Linux.
docker run -d -p 8118:8118 -p 9050:9050 rdsubhas/tor-privoxy-alpine
curl ipinfo.io/ip
curl --proxy localhost:8118 ipinfo.io/ip
Read the accompanying blog post for more details.
- When running in interactive mode, pressing Ctrl+C doesn't cleanly exit. For now, run it in detached mode (
-d
). Callingdocker stop
cleanly exits though. - We're using
testing
versions of tor and runit in Alpine. Got to keep an eye on future builds, until those packages reachmain
in Alpine.
- s6 supervision suite, similar to runit and daemontools
- s6-overlay, base container with s6 and alpine
- docker-slim, a tool to automatically analyze and trim existing fat containers