A Docker Image for a Tor relay node
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Dockerfile
LICENSE
README.md
run.sh
setup_network.sh
tor_config_relay.conf

README.md

docker-tor-relay

A Docker Image for a Tor relay node, image is hosted on Docker Hub: https://hub.docker.com/r/wlkx/docker-tor-relay/

Tutorial

  1. Clone the repository:
git clone git@github.com:wlk/docker-tor-relay.git
  1. change directory
cd docker-tor-relay
  1. create tor_data (owned as root)
sudo mkdir tor_data
  1. Create separate network for Tor node
./setup_network.sh
  1. Run the script:
./run.sh

The script will pull the image from the Docker Hub and run it. Container is configured to auto restart with the system.

Advanced uses

Alternatively you can edit the tor_config_relay.conf file and build the image yourself:

docker build -t MY_IMAGE .

Then you need to edit last line in run.sh and change wlkx/docker-tor-relay to MY_IMAGE