Re:Why unikernels might kill containers in five years
by kazinator on Friday October 09, 2015 @06:35PM
(#10363648)
> because if a unikernel crashes, you just restart it
Because you've stripped out everything that could supply you with any other option.
Re:Why unikernels might kill containers in five years
by ori_b on Saturday October 10, 2015 @03:12AM
(#10364785)
Because they're just processes with a funky syscall interface that looks a little bit like hardware. Especially if you start comparing paravirtualized drivers and high performance interfaces like Netmap.
From there, you can start stripping out other things. You don't need a huge init system because all you're doing is running a single application. Your libc can be made tiny, or removed completely, because you can strip it of all the calls your app doesn't need. You don't need to run an sshd, because there is no shell to get into. You can get rid of PAM because there's no accounts to access or authenticate against.
On real machines and VMs, these things are necessary so you can run tests, do cleanup, etc. Unikernels are centered entirely around the idea that those things are someone else's job, and if needed, can be shouted for across the network.