Simple Dockerfile to build a container for Tor proxy. Default port is 9050.
- Create a new folder (i.e. folder-path) and paste the files Dockerfile and torrc into it
- Build the image with:
docker build folder-path/
- After the build process, Docker will provide the image ID (i.e. image-id)
- Run the container with
docker run -dt image-id
- Container name can be set with
--name container-name
- The file torrc can be edit adding other options