Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does this bring us closer to having native docker support on OSX?


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:

https://news.ycombinator.com/item?id=9690846


Unlikely. It appears that this is dependent on BSD's jails.

https://github.com/kvasdopil/docker/blob/freebsd-compat/FREE...


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.


Well, 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)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: