4 ms·
"Containers" is an unfortunate term, since it really better describes the container image than an actual running process with API virtualisation. I think VMs-a
by jacques_chester 7y ago
"Containers" is an unfortunate term, since it really better describes the container image than an actual running process with API virtualisation.
I think VMs-as-containers is where we'll wind up. The container image has turned out to be the real thing of interest, the runtime is almost secondary. Virtual machine systems have closed the performance gap in a variety of ways.
For example: tearing out kernel checks for devices that will never be connected to the VM; taking advantage of hyper-privileged CPU instructions; being able to make and restore higher-fidelity checkpoints than an OS can for faster launches etc.
At which point the isolation benefits of VMs really begin to outweigh everything else. A hypervisor has a much smaller attack surface and has a much simpler role than a full monolithic OS kernel. It partitions the hardware and that's about it. It doesn't exist in a constant tension between kernel-as-resource-manager and kernel-as-service-provider.
- LIV2 7y agoThis is kinda where VMware is going with project pacific & vSphere integrated containers; containers running as individual VMs on a hypervisor. I wonder if we will see others following the same pattern? I’m not sure what the drawbacks might be though
- jacques_chester 7y agoI think yes. Red Hat and others are working on KubeVirt, plus I believe there are CRI implementations for gVisor and Firecracker. Disclosure: I work for Pivotal, which is in the middle of acquisition by VMware.
- depr 7y agoYes and no, there's the attack surface of the guest operating system.