How can i edit torrc config file?
Jindey opened this issue · 6 comments
Jindey commented
How can i edit torrc config file?
PeterDaveHello commented
@Jindey do you mean during the runtime? You can always use docker's volumes mount parameter -v
to mount your own torrc file, see https://docs.docker.com/storage/volumes/ for more details! Thanks.
PeterDaveHello commented
Let me know if this should be also added to the README.md, if there are some users needed it, I'll reopen this issue.
StephanGerbeth commented
is this right?
docker run -v $(pwd)/torrc:/torrc --name tor-socks-proxy -p 127.0.0.1:9150:9150/tcp -p 127.0.0.1:53:53/udp peterdavehello/tor-socks-proxy:latest
Currently it's not working. The file wont be copied to etc/tor.
Can you help me?
PeterDaveHello commented
@StephanGerbeth torrc needs to be mounted to /etc/tor/ (See Dockerfile for the details)
PeterDaveHello commented
@StephanGerbeth You'll need to use -v
StephanGerbeth commented
thanks!