antitree / private-tor-network

Run an isolated instance of a tor network in Docker containers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/tor/torrc.da: No such file or directory

pubkey opened this issue · comments

When I start the containers via docker-componse, I get the following error:

privatetornetwork_da3_1 exited with code 1
client_1  | cat: /tor/torrc.da: No such file or directory
privatetornetwork_client_1 exited with code 1
relay_1   | cat: /tor/torrc.da: No such file or directory
exit_1    | cat: /tor/torrc.da: No such file or directory
hs_1      | cat: /tor/torrc.da: No such file or directory

I think this is because of line 96 where it is using cat ${TOR_DIR}/torrc.da >> /etc/tor/torrc but according to the Dockerfile, ${TOR_DIR} is resolved to /tor while every other config is in the folder /etc/tor

Interesting. Looking into it

I'm using the docker-compose v2 btw.

docker-compose -f ./docker-compose.2.yml up

docker-compose version 1.8.0, build unknown

This was caused by the way I was discovering the relay's IP addresses. It should be fixed now.

This was caused by the way I was discovering the relay's IP addresses. It should be fixed now.

Can you please let me know what change you did to fix this? I still am facing the same issue :(