News for hackers. Stuff that matters.
Re:Why would anyone choose Docker over fat binaries? by pmoriarty on Sunday October 29, 2017 @12:58PM (#15580066)
Those solutions still allow the host and all the other containers to be compromised through a kernel exploit, though, can't they?

The most secure isolation is provided with physical separation. Second best is VMs. Containers are a distant third.

Re:Why would anyone choose Docker over fat binaries? by 2trill2spill on Sunday October 29, 2017 @01:07PM (#15580126)
> Those solutions still allow the host and all the other containers to be compromised through a kernel exploit, though, can't they?

If I keep my boxes up to date I only need to worry about zero day kernel exploits. So if someone comes along and uses a zero day kernel exploit to escape my FreeBSD jail then they were going to get on the box anyway, because any attacker using a zero day is highly skilled and highly targeted.

> The most secure isolation is provided with physical separation. Second best is VMs. Containers are a distant third.

While I agree that physical isolation is the safest, I don't think it's so cut and dry between containers and VMs. Virtual machines have significantly more attack surface than either Jails or Zones, think of all the emulated devices.

Re:Why would anyone choose Docker over fat binaries? by pmoriarty on Sunday October 29, 2017 @01:19PM (#15580211)
"Virtual machines have significantly more attack surface than either Jails or Zones, think of all the emulated devices."

Nothing prevents you from using jails or zones in your VM.

Re:Why would anyone choose Docker over fat binaries? by 2trill2spill on Sunday October 29, 2017 @01:24PM (#15580241)
> Nothing prevents you from using jails or zones in your VM.

I get that but that's no longer VMs vs containers, Thats VM plus container vs container.

Re:Why would anyone choose Docker over fat binaries? by Spivak on Sunday October 29, 2017 @02:40PM (#15580625)
> Second best is VMs. Containers are a distant third.

I will grant you that containers are harder to isolate since it's same problem as isolating individual processes. But there isn't really a meaningful difference between a kernel exploit and a hypervisor exploit.

Re:Why would anyone choose Docker over fat binaries? by kijiki on Sunday October 29, 2017 @03:09PM (#15580793)
Attack surface of a minimal hypervisor is way smaller than that of an entire kernel.

Take a look at Clear Containers (despite the name, actually using VMs) and their qemu-lite minimal machine type.

Re:Why would anyone choose Docker over fat binaries? by depr on Sunday October 29, 2017 @04:45PM (#15581327)
What makes you say that? VM's get exploited as well http://venom.crowdstrike.com so what makes you think VM's are better than e.g. zones?