News for hackers. Stuff that matters.
Re:Running containers without Docker by fnj on Wednesday October 26, 2016 @08:33PM (#12802011)
If MacOS doesn't have certain linux kernel features, neither does FreeBSD. How can Docker run on FreeBSD when FreeBSD has no cgroups? I think you misread/misinterpreted your reference.
Re:Running containers without Docker by 2trill2spill on Wednesday October 26, 2016 @10:03PM (#12802382)
> How can Docker run on FreeBSD when FreeBSD has no cgroups? I think you misread/misinterpreted your reference.

FreeBSD can run 64 bit and 32 bit Linux binaries via it's Linux emulator[1]. Plus FreeBSD has had containers since FreeBSD 4 which was released in March of 2000, except containers on FreeBSD are called jails.

> If MacOS doesn't have certain linux kernel features, neither does FreeBSD.

Just because one operating system doesn't have a feature that does not mean a different operating system does not have that feature.

[1] https://www.freebsd.org/doc/handbook/linuxemu.html

Re:Running containers without Docker by indexerror on Wednesday October 26, 2016 @11:12PM (#12802656)
Jails are considerably different than containers. Jails are more like chroot jails on linux instead.

Edit: My viewpoint was focused more on the composability aspect of containers. But I stand corrected otherwise.

Re:Running containers without Docker by 2trill2spill on Wednesday October 26, 2016 @11:52PM (#12802783)
> Jails are considerably different than containers. Jails are more like chroot jails on linux instead.

Thats incorrect both jails and "containers" are examples of OS level virtualization[1]. Instead of virtualizing the hardware you virtualize the operating system, ie system call table.

[1]: https://en.wikipedia.org/wiki/Operating-system-level_virtual...

Re:Running containers without Docker by empthought on Wednesday October 26, 2016 @11:26PM (#12802707)
No, jails are basically containers. Docker on FreeBSD uses jails for isolation -- see the wiki page at https://wiki.freebsd.org/Docker
Re:Running containers without Docker by tonyhb on Wednesday October 26, 2016 @09:35PM (#12802259)
xhyve and bhyve virtualization built into the BSD kernels. docker for mac now runs a tiny linux vm directly on osx