News for hackers. Stuff that matters.
Re:The Truth about Linux 4.6 by hga on Saturday May 14, 2016 @08:13PM (#11698671)
Docker is using Alpine Linux which normally uses grsecurity.
Re:The Truth about Linux 4.6 by contingencies on Saturday May 14, 2016 @09:55PM (#11699000)
Docker just resolved a critical compatibility issue it had with most reasonably useful configurations of grsec... see https://github.com/docker/docker/issues/20303 which I opened, and https://github.com/docker/docker/pull/22506 which solved it.
Re:The Truth about Linux 4.6 by cyphar on Saturday May 14, 2016 @10:37PM (#11699115)
I'm not sure why they went with pivot_root -- there's already code to deal with handling symlinks and all of their paths properly within Docker containers from the host (which I helped write and merged something like 2 years ago). I would've thought the obvious way of doing it would be to modify pkg/archive ...
Re:The Truth about Linux 4.6 by cyphar on Sunday May 15, 2016 @01:49AM (#11699643)
Docker doesn't boot a kernel. It uses host kernel features. People who use alpine as a base for Docker images are just using the root filesystem from an alpine install.
Re:The Truth about Linux 4.6 by viraptor on Saturday May 14, 2016 @10:06PM (#11699034)
That doesn't give you any improvement in the container by default. Only the host's kernel matters in case of grsec.
Re:The Truth about Linux 4.6 by cm3 on Saturday May 14, 2016 @08:28PM (#11698716)
Does Docker boot a kernel?
Re:The Truth about Linux 4.6 by ysleepy on Saturday May 14, 2016 @08:42PM (#11698750)
Docker is just a beefed up wrapper around groups of processes on linux.
Re:The Truth about Linux 4.6 by cm3 on Saturday May 14, 2016 @08:47PM (#11698767)
I know, but I've heard that it can run Linux on OS X, so I was wondering if it now boots kernels as well. Basically, Docker is ezjail with financial backing and PR.
Re:The Truth about Linux 4.6 by ysleepy on Saturday May 14, 2016 @09:11PM (#11698847)
On OSX its using a port of FreeBSDs virtualization bhyve aka xhyve to boot a Docker linux.