Re:Firecracker: Start a VM in less than a second
by FourSigma on Saturday January 23, 2021 @01:37PM
(#25884898)
What is the difference between Firecracker vs LXC/LXD?
[ Parent
| on HN ]
Re:Firecracker: Start a VM in less than a second
by e12e on Saturday January 23, 2021 @01:58PM
(#25885063)
Linux containers are containers, not VMs. They are more like docker (although, lxd/lxc typically are used more like jails/VMs - a "full" user land, rather than just an application binary, like with a docker container wrapping a service implemented in go).
Technically, docker/lxc uses kernel namespaces to isolate a process tree - firecracker starts up a virtual machine.
Re:Firecracker: Start a VM in less than a second
by dharmab on Saturday January 23, 2021 @02:30PM
(#25885298)
When a VM context switch happens, the CPU uses extensions like Intel VMX to isolate the virtual machine code from the host code. Usually the hypervisor also forces a cache flush to
mitigate CPU vulnerabilities as well.
Re:Firecracker: Start a VM in less than a second
by StreamBright on Saturday January 23, 2021 @02:32PM
(#25885312)
VMs vs containers. One uses KVM under the hood the other uses cgroups. Btw. you can run Firecracker VMs with container isolation on the top.
https://github.com/firecracker-microvm/firecracker/blob/mast...