Re:Containers vs. Zones vs. Jails vs. VMs
by tannhaeuser on Wednesday March 29, 2017 @03:03AM
(#13984033)
But AMIs are full VM images as opposed to container images, aren't they?
[ Parent
| on HN ]
Most Docker images also contain a full OS.
Re:Containers vs. Zones vs. Jails vs. VMs
by cookiecaper on Tuesday April 11, 2017 @12:37PM
(#14089754)
Yes, everyone overlooks this and talks about how Docker containers are "app-only images" or something. They're not app-only. They may be using a thin OS like Alpine, but there's still a completely independent userspace layer. The only thing imported from the host is the kernel. If you made VM images in the same way, they'd also be 200M.
The benefit of "containers" is that you don't need to siphon off a dedicated section of RAM to the application.