Directory that the docker container is in:
-
docker build -t tor .
Root directory:
-
docker build -t tor -f build/package/tor/Dockerfile .
This will publish the docker container on localhost, so that the containers can communicate. Adjust port accordingly.
docker run --network host --publish 9050:9050 tor