nagev/tor
Download and compile Tor software. Starts Tor and exposes a SOCKS port for clients to use. Does not set up a Tor relay or exit-node.
100K+
Dockerfile to download and compile tor software.
When run, tor starts with a SOCKS5 server accessible on port 9150.
This does not set up a tor relay or exit node.
$ git clone https://github.com/np1/docker-tor-clientonly.git
$ cd docker-tor-clientonly
$ docker build -t nagev/tor .
$ docker pull nagev/tor
$ docker run -d --name tor_instance -p 127.0.1.1:9150:9150 nagev/tor
$ docker logs tor_instance
Server IP: 127.0.1.1
Server port: 9150
$ docker stop tor_instance
docker pull nagev/tor