This is tiny docker container for TOR client.
It expose two ports:
Basic docker run command:
docker run -p 9150:9150 -p 9051:9051 -e PASSWORD=myPassword --name tor tarhan/tor-alpine:latest
Or you can use docker-compose.yml:
version: "2.1"
services:
tor:
image: "tarhan/tor-alpine:latest"
environment:
PASSWORD: myPassword
ports:
- "9150:9150"
- "9051:9051"
You can check resulting ip using following command:
curl --socks5-hostname localhost:9150 http://ipv4bot.whatismyipaddress.com
You can specify exist nodes by defining EXIT_NODES environment variable in format used by torrc: {us},{hk}.
If you need only single country you can define COUNTRY environment variable in form of 2-letter country code.
Content type
Image
Digest
Size
4.8 MB
Last updated
about 9 years ago
docker pull tarhan/tor-alpine