You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to override the config file using a volume mount, I get an error running the container:
Nov 05 21:50:06.750 [notice] Tor 0.4.1.6 running on Linux with Libevent 2.1.10-stable, OpenSSL 1.1.1c, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A.
Nov 05 21:50:06.750 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Nov 05 21:50:06.751 [notice] Read configuration file "/etc/tor/torrc.config".
Nov 05 21:50:06.755 [notice] Opening OR listener on 0.0.0.0:9001
Nov 05 21:50:06.755 [notice] Opened OR listener on 0.0.0.0:9001
Nov 05 21:50:06.755 [notice] Opening Directory listener on 0.0.0.0:9030
Nov 05 21:50:06.755 [notice] Opened Directory listener on 0.0.0.0:9030
Nov 05 21:50:06.755 [warn] Error creating directory /var/lib/tor/.tor: Permission denied
Nov 05 21:50:06.755 [warn] Failed to parse/validate config: Couldn't create private data directory "/var/lib/tor/.tor"
Nov 05 21:50:06.755 [err] Reading config failed--see warnings above.
Obviously it's some permission issue, but I can't seem to figure out what's wrong. I haven't volume mapped the whole /var/lib/tor directory, so I was assuming it shouldn't be an issue in that regard, but then I don't get this issue when I'm not overriding the config through a volume map.
Do I need to override the config some other way that I'm not seeing?
[EDIT]
Trying to pass the PUID and PGID didn't help either.
environment:
- PUID=${PUID}
- PGID=${PGID}
The /data/tor folder and all contents are owned by the docker user.
Mapping the directory instead of the file doesn't work either:
- /data/tor/config:/etc/tor
The text was updated successfully, but these errors were encountered:
When I try to override the config file using a volume mount, I get an error running the container:
docker-compose.yml:
Obviously it's some permission issue, but I can't seem to figure out what's wrong. I haven't volume mapped the whole
/var/lib/tor
directory, so I was assuming it shouldn't be an issue in that regard, but then I don't get this issue when I'm not overriding the config through a volume map.Do I need to override the config some other way that I'm not seeing?
[EDIT]
Trying to pass the PUID and PGID didn't help either.
The
/data/tor
folder and all contents are owned by the docker user.Mapping the directory instead of the file doesn't work either:
The text was updated successfully, but these errors were encountered: