Sign inSign up

mazzolino/custom-tor-alpine

By mazzolino

•Updated about 4 years ago

Small, customizable docker image with Tor on Alpine Linux

Image
0

6.8K

mazzolino/custom-tor-alpine repository overview

⁠docker-custom-tor-alpine

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

⁠Configuration

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}

⁠Known Issues

  • We're using testing versions of tor and runit in Alpine. Got to keep an eye on future builds, until those packages reach main in Alpine.

⁠Other interesting projects

Tag summary

Content type

Image

Digest

sha256:0a515611e…

Size

8 MB

Last updated

about 4 years ago

docker pull mazzolino/custom-tor-alpine