Re:FreeBSD Port of Docker
by zbyte64 on Monday July 06, 2015 @02:27PM
(#9841119)
Does this bring us closer to having native docker support on OSX?
[ Parent
| on HN ]
Re:FreeBSD Port of Docker
by isomorphic on Monday July 06, 2015 @02:36PM
(#9841216)
This is off-topic and not the same thing, but you should look into xhyve:
https://github.com/mist64/xhyve
...and then:
https://github.com/coreos/coreos-xhyve
https://github.com/ailispaw/boot2docker-xhyve
Previous discussion here:
Re:FreeBSD Port of Docker
by MikeKusold on Monday July 06, 2015 @02:31PM
(#9841163)
Unlikely. It appears that this is dependent on BSD's jails.
https://github.com/kvasdopil/docker/blob/freebsd-compat/FREE...
Re:FreeBSD Port of Docker
by TickleSteve on Tuesday July 07, 2015 @02:40AM
(#9843937)
No,
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.
BSD 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
There were other projects that used comparable approaches, such as Lites:
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.