Simple Tor SOCKS5 proxy with auto-reconnect and healthcheck.
1.2K
This Docker image provides a simple and easy-to-use Tor proxy service. Tor is a free and open-source software that anonymizes internet traffic by routing it through a worldwide network of relays.
9050.To build the Docker image from the Dockerfile, run the following command:
docker build -t tor-proxy .
To run the Docker container, use the following command:
docker run -d -p 9050:9050 --name tor-proxy wafy80/tor
Once the container is running, you can configure your applications to use the Tor proxy. For example, using curl:
curl --socks5-hostname 127.0.0.1:9050 http://check.torproject.org/
This command should indicate that your request is routed through the Tor network.
The Docker image includes a healthcheck that verifies the Tor service is running correctly. The healthcheck is configured as follows:
You can check the health status of the container using the following command:
docker inspect tor-proxy-container
Look for the State and Health sections in the output JSON to see the health status of the container.
Contributions are welcome! If you have any improvements or bug fixes, feel free to open a pull request. https://github.com/wafy80/tor
This Docker image is licensed under the WTFPL License.
Content type
Image
Digest
sha256:e3ec5aab7…
Size
76.1 MB
Last updated
6 months ago
docker pull wafy80/tor