Skip to content

Dockerfile to run Tor and expose a SOCKS server port

Notifications You must be signed in to change notification settings

nikicat/docker-tor-clientonly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

docker-tor-clientonly

Dockerfile to download and compile tor software. When run, tor starts with a SOCKS5 server accessible on port 9050.
This does not set up a tor relay or exit node.

To build using the Dockerfile

$ git clone https://github.com/np1/docker-tor-clientonly.git
$ cd docker-tor-clientonly
$ docker build -t nagev/tor .

Or pull the image from the Docker repository

$ docker pull nagev/tor

To run

$ docker run -d --name tor_instance -p 127.0.1.1:9050:9050 nagev/tor

To view the Tor log

$ docker logs tor_instance

To use, configure your browser/client to use a SOCKS server

Server IP: 127.0.1.1
Server port: 9050

To stop

$ docker stop tor_instance

About

Dockerfile to run Tor and expose a SOCKS server port

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published