News for hackers. Stuff that matters.
Re:FreeBSD Port of Docker by vezzy-fnord on Monday July 06, 2015 @03:18PM (#9841515)
See also Jetpack, a native FreeBSD implementation of the appc spec (to be converted to OCP, I presume): https://github.com/3ofcoins/jetpack
Re:FreeBSD Port of Docker by feld on Monday July 06, 2015 @10:29PM (#9843312)
I'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.
Re:FreeBSD Port of Docker by batou on Tuesday July 07, 2015 @03:41AM (#9844082)
I'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.

Re:FreeBSD Port of Docker by feld on Friday July 10, 2015 @02:30PM (#9865814)
How vintage of you!
Re:FreeBSD Port of Docker by kjs3 on Sunday July 12, 2015 @06:56PM (#9875349)
Care to share? Always looking for jails management tips.
Re:FreeBSD Port of Docker by jfb on Monday July 06, 2015 @04:37PM (#9842029)
Now I just need nvcc to ditch linux entirely. Sadly, that's not going to be forthcoming in this or any other universe.
Re:FreeBSD Port of Docker by justincormack on Monday July 06, 2015 @05:43PM (#9842377)
Will it work under emulation (you need freebsd current not 10.1 to get 64 bit Linux emulation)?
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?
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:

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

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.
Re:FreeBSD Port of Docker by danieldk on Tuesday July 07, 2015 @03:15AM (#9844027)
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.

Re:FreeBSD Port of Docker by bstx on Tuesday July 07, 2015 @03:20AM (#9844033)
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)
Re:FreeBSD Port of Docker by zwischenzug on Monday July 06, 2015 @02:11PM (#9841010)
Would it be better to target 'RunC', as the open container standard?
Re:FreeBSD Port of Docker by codemac on Monday July 06, 2015 @02:34PM (#9841191)
They'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.

Re:FreeBSD Port of Docker by ewindisch on Monday July 06, 2015 @03:54PM (#9841774)
The 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)

Re:FreeBSD Port of Docker by AdrianRossouw on Monday July 06, 2015 @12:40PM (#9840320)
interesting. how does it handle running linux containers? or does this work the same way as boot2docker?
Re:FreeBSD Port of Docker by papercrane on Monday July 06, 2015 @02:02PM (#9840955)
Looks when it detects a linux container it uses FreeBSD's linux compatibility layer.

https://github.com/kvasdopil/docker/commit/da50a79947f46ab64...

Re:FreeBSD Port of Docker by justincormack on Monday July 06, 2015 @05:21PM (#9842261)
Note that 64 bit Linux compat is not in the current release of FreeBSD but should be available in the next release.
Re:FreeBSD Port of Docker by patkai on Tuesday July 07, 2015 @01:46AM (#9843816)
ZFS <3
Re:FreeBSD Port of Docker by TheDong on Tuesday July 07, 2015 @02:41AM (#9843940)
Docker has zfs support for zfs on linux already.