Open AnotherDroog opened 5 years ago
The docker image doesnt require this mount. Only for a specific compose file which is not in this repo
Ok, thanks!
Can you move the issue to Noma?
Moved to NOMA
the Mac Tor directory is /usr/local/var/lib/tor
, so perhaps a detect for the OS or directory before startup and a quick sed script to rewrite the tor pathname in the compose file might work
Although there is some other issues on Macs where we should probably not use docker because Mac support for docker uses a linux VM so there is issues with the container communicating with the tor host.
I'm thinking vagrant
is a solid choice for Mac development. We can do setup of virtualbox VM's as well as docker orchestration with it, i.e. setting up docker to be ready for our compose files.
Instead of messing with the tor
path, can't we put it in a container instead?
if you can get tor as a container then why not.
Building it isn't the easiest, let alone getting it a multiplatform binary
I‘m going to focus on containerizing Noma first since that brings the greatest benefit to reducing deployment time
Encountering this on Mac when /var/lib/tor is not created and shared.
sudo mkdir /var/lib/tor
and adding the dir to shares in Docker fixes it but is tedious for users