Open franzyke opened 5 years ago
I just tried this repo on MacOS (10.14.5). But there were some errors and docker-compose up fails.
docker-compose up
... The paths /etc/timezone and /dev/shm/shinobiDockerTemp and /etc/localtime\r\nare not shared from OS X and are not known to Docker ...
Here's what I did to make it work: (taken from here)
- /etc/localtime:/etc/timezone:ro
${ETC_LOCALTIME}:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
Also there was some directory not found error with the temp directory. So I moved it to my home folder
/dev/shm/shinobiDockerTemp:/dev/shm/streams
/Users/myusername/shinobiDockerTemp:/dev/shm/streams
mkdir /Users/myusername/shinobiDockerTemp
Now the application works. there are some errors when doing docker-compose logs. But the main UI works now
docker-compose logs
Haven't tested it yet with an actual camera yet
I just tried this repo on MacOS (10.14.5). But there were some errors and
docker-compose up
fails.Here's what I did to make it work: (taken from here)
- /etc/localtime:/etc/timezone:ro
to${ETC_LOCALTIME}:/etc/localtime:ro
in docker-compose.yml- /etc/timezone:/etc/timezone:ro
Also there was some directory not found error with the temp directory. So I moved it to my home folder
/dev/shm/shinobiDockerTemp:/dev/shm/streams
to/Users/myusername/shinobiDockerTemp:/dev/shm/streams
mkdir /Users/myusername/shinobiDockerTemp
(this may not be necessary)Now the application works. there are some errors when doing
docker-compose logs
. But the main UI works nowHaven't tested it yet with an actual camera yet