This Docker image sets up Tor to be used as a SOCKS proxy that can redirect traffic through the Tor network.
Tor is a free and open-source software for enabling anonymous communication by directing Internet traffic through a free, worldwide, volunteer overlay network to conceal a user's location and usage from anyone performing network surveillance or traffic analysis.
To use Tor for improved privacy, follow these steps:
-
Clone and start the container:
docker run -p 9050:9050 docker.io/aguslr/tor:latest
-
Change your Web browser's proxy settings to point to the appropriate proxy:
- All traffic through Tor: use SOCKSv5 proxy with
127.0.0.1:9050
.
- All traffic through Tor: use SOCKSv5 proxy with
Using a SOCKSv5 proxy is preferred as it provides added security.
Instead of pulling the image from a remote repository, you can build it locally:
-
Clone the repository:
git clone https://github.com/aguslr/docker-tor.git
-
Change into the newly created directory and use
docker-compose
to build and launch the container:cd docker-tor && docker-compose up --build -d