open-nti on MAC OSX
gmoisio opened this issue · 1 comments
gmoisio commented
Hi all, using:
- /etc/localtime:/etc/localtime
in docker-compose file is not usable on MAC OSX.
Using docker version 2.0.0.3 (31259), you cannot share /etc directory without having issues.
I made some updates on docker-compose files using an etc directory in the MAC user path, which is already shared, into which I created a new file named timezone with the right timezone into this file.
- ~/<my_directories>/etc/timezone:/etc/localtime
And it works fine.
Regards
jeremycohoe commented
mkdir ~/open-nti/etc/
cp /etc/localtime ~/open-nti/etc/
Edit docker-compose.yml and replace all lines matching:
- /etc/localtime:/etc/localtime
Replace with:
- ~/open-nti/etc/localtime:/etc/localtime
Then run make start.