5 ms·
FreeBSD Port of Docker
- AdrianRossouw 11y agointeresting. how does it handle running linux containers? or does this work the same way as boot2docker?
- papercrane 11y agoLooks when it detects a linux container it uses FreeBSD's linux compatibility layer. https://github.com/kvasdopil/docker/commit/da50a79947f46ab64d156d6a5ece3616da3ac480?diff=split https://github.com/kvasdopil/docker/commit/da50a79947f46ab64...
- justincormack 11y agoNote that 64 bit Linux compat is not in the current release of FreeBSD but should be available in the next release.
- zwischenzug 11y agoWould it be better to target 'RunC', as the open container standard?
- codemac 11y agoThey'd probably need to do both, as users who want to use docker depend on very specific parts of the docker ecosystem (docker hub, the docker daemon itself, etc). Not to mention this is essentially just packaging, I hope they package any software they find reasonably popular and let users decide what's more important to them.
- ewindisch 11y agoThe link sends you to the packaging, but this is a bonafide port which uses FreeBSD jails. The code is not yet upstream in Docker, but I imagine (hope) we'll see this work come in as pull-requests. (Disclosure: I am an employee of Docker, Inc. Any opinions expressed here are my own)
- zbyte64 11y agoDoes 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 ago
- vezzy-fnord 11y agoSee also Jetpack, a native FreeBSD implementation of the appc spec (to be converted to OCP, I presume): https://github.com/3ofcoins/jetpack https://github.com/3ofcoins/jetpack
- jfb 11y agoNow I just need nvcc to ditch linux entirely. Sadly, that's not going to be forthcoming in this or any other universe.
- justincormack 11y agoWill it work under emulation (you need freebsd current not 10.1 to get 64 bit Linux emulation)?
- feld 11y agoI'm not sure what it will gain me over my home-grown scripts to manage jails the way I like them, but I'll certainly play with it when it's ready for consumption.
- batou 11y agoI'm finding that good old fashioned processes are a pretty good and long forgotten virtualization system! Not only that you can manage them very easily with stable tools like ansible and deploy them as packages (rpms). Our native IO and bare metal HP DL380s go crazy fast with hundreds of processes running.
- feld 11y agoHow vintage of you!
- kjs3 11y agoCare to share? Always looking for jails management tips.
- patkai 11y agoZFS <3
- TheDong 11y agoDocker has zfs support for zfs on linux already.