First of all, thank you so much for the native Docker on the Mac. I can’t believe how well it works already. I’m running two containers on a Mac OS X 10.11.5 server and they work great. I had no experience with Docker before but I am sold!
The only real problem I’ve run into is something that might be the same problem as the old topic https://forums.docker.com/t/cant-start-elasticsearch-with-mounted-data-directory-f-stat-v-fs-family-of-functions/8705
However, since that topic is a bit older, I thought I’d check whether this is the same problem.
When I host mount the directory the mongodb database is created in, I get:
[FileAllocator] error: failed to allocate new file: /usr/lib/unifi-video/data/db/local.ns size: 16777216 fstatfs failed: errno:38 Function not implemented. will try again in 10 seconds
The container works fine when it uses its own volume.
To recreate, pull jkarras/unifi-video-controller and then host mount /var/lib/unifi-video.