4 ms·
Containers will never replace VMs either. People will be running WASM inside of containers inside of VMs.
by aftbit 2y ago
Containers will never replace VMs either. People will be running WASM inside of containers inside of VMs.
- ninetyninenine 2y agoWhere did this extra VM come from?
- reissbaker 2y agoWell, AWS, typically.
- ninetyninenine 2y agoAre you sure? Are those instances a VM or another docker container? Does anyone from amazon know?
- reissbaker 2y agoIt's a custom VM they wrote called Nitro: https://aws.amazon.com/ec2/nitro/ https://aws.amazon.com/ec2/nitro/
- threeseed 2y agoDepends what part you mean. AWS Fargate / Lambda are Firecracker VMs. EC2 are normal VMs.
- LeFantome 2y agoAn OCI container (what people call Docker containers) are just applications that run on a Linux kernel. That is, you need a Linux kernel underneath for the containers to run on. More often than not, that Linux kernel is running in a virtual machine. When you run Docker Desktop on your Windows or macOS machine, how do you think it runs that Alpine Linux container? It works because there is a virtual machine running Linux that all the Docker containers run on top of. If you are running Linux directly on real hardware, your containers do not need a VM. Everywhere else, they do.
- pjmlp 2y agoSee https://katacontainers.io https://katacontainers.io Turns out only containers is not secure enough.
- timeflex 2y agoAbsolutely they will & do. The kernel provides the necessary sandboxing & is faster, even with things like Firecracker.