mazzolino/custom-tor-alpine
Small, customizable docker image with Tor on Alpine Linux
6.2K
Small (14 MB), customizable docker image with Tor on Alpine Linux.
docker run -d -p 9050:9050 mazzolino/custom-tor-alpine
curl --socks5 localhost:9050 https://www.google.com
It is possible to define configuration options for the Tor daemon using env variables. Just define a variable prefixed with TOR_
, as shown in this example:
docker run -d -p 9050:9050 -e TOR_ExitNodes="{de}" mazzolino/custom-tor-alpine
The torrc
will now contain:
ExitNodes {de}
testing
versions of tor and runit in Alpine. Got to keep an eye on future builds, until those packages reach main
in Alpine.docker pull mazzolino/custom-tor-alpine