Run TOR conveniently from a docker container.
The simplest way to launch a TOR proxy using this container is to use the following command:
docker run --rm -p 9050:9050 leplusorg/tor
If you need to ovverride the default torrc file, you can mount your version this way:
docker run --rm -p 9050:9050 -v /local/path/to/your/torrc:/etc/torrc leplusorg/tor
Once the docker container has finished starting, you can test it with the following command:
curl --socks5 localhost:9050 --socks5-hostname localhost:9050 https://check.torproject.org/api/ip
Please use this link (GitHub account required) to suggest a change in this image configuration.