torch-agent/docker-tor/README.md

847 B

Tor Test Harness for TORch Agent

This is a Docker container for running the current development version of TORch Agent in an environment with a local Tor Proxy (without having to install and configure Tor on the development machine itself)

Preparation

  1. Build a Debian package from the current development version of TORch Agent
python -m venv venv && source venv/bin/activate
pip3 install -r requirements.txt
./build-deb.sh
  1. Build the Docker image
docker build -f docker-tor/Dockerfile -t torch-agent .
  1. Configure torch-agent by editing agent-conf/torch.conf

    • Be sure to update the onion hostname of the broker with the one you wish to test with
  2. Launch the Docker container

docker run -it --rm -v "$(pwd)/docker-tor/agent-conf:/etc/torch" torch-agent