4 ms·
Does this bring us closer to having native docker support on OSX?
by zbyte64 11y ago
Does this bring us closer to having native docker support on OSX?
- MikeKusold 11y agoUnlikely. It appears that this is dependent on BSD's jails. https://github.com/kvasdopil/docker/blob/freebsd-compat/FREEBSD-PORTING.md https://github.com/kvasdopil/docker/blob/freebsd-compat/FREE...
- isomorphic 11y agoThis is off-topic and not the same thing, but you should look into xhyve: https://github.com/mist64/xhyve https://github.com/mist64/xhyve ...and then: https://github.com/coreos/coreos-xhyve https://github.com/coreos/coreos-xhyve https://github.com/ailispaw/boot2docker-xhyve https://github.com/ailispaw/boot2docker-xhyve Previous discussion here: https://news.ycombinator.com/item?id=9690846 https://news.ycombinator.com/item?id=9690846
- TickleSteve 11y agoNo, Its a popular misconception that OSX is based on BSD... its not. OSX is a MACH kernel with a BSD userland (read BSD compatibility layer) much the same as there exists a POSIX layer for Windows.
- danieldk 11y agoBSD runs in kernel-space as well to provide the typical UNIX functionality (BSD system calls, UNIX-style processes, etc). You can see this in the kernel sources for XNU, which contains a fairly sizable chunk of a BSD kernel: https://github.com/opensource-apple/xnu/tree/10.10/bsd https://github.com/opensource-apple/xnu/tree/10.10/bsd There were other projects that used comparable approaches, such as Lites: http://www.cs.utah.edu/flux/lites/html/ http://www.cs.utah.edu/flux/lites/html/ No, Its a popular misconception that OSX is based on BSD... its not. So no, this is not a misconception, it's actually true. Sure, there is BSD in userland as well, but the kernel is Mach and BSD.
- bstx 11y agoWell, it's not just the userland. The XNU kernel is a hybrid of Mach (tasks, threads, IPC, VM), BSD (processes, users, devices, networking, system calls, VFS) and IOKit (driver framework)