Re:About Containers and VMs
by hliyan on Wednesday August 27, 2025 @10:12PM
(#45047575)
As I always say: a VM makes an OS believe that it has the machine to itself; a container makes a process believe that it has the OS to itself.
[ Parent
| on HN ]
I think they linuxcontainers.org people would disagree. Like the table is trying to communicate, in contrast to eg Docker, this is not about application containerization.
Re:About Containers and VMs
by hamandcheese on Thursday August 28, 2025 @01:11AM
(#45048608)
The table is comparing all three types: VM, system containers, application containers. Incus supports application containers. Its a relatively recent addition.
I can't find great docs for it, but its in the release notes last year: https://linuxcontainers.org/incus/news/2024_07_12_05_07.html
Re:About Containers and VMs
by frainfreeze on Thursday August 28, 2025 @03:33AM
(#45049475)
For those unfamiliar, Incus is 'replacement' for LXD. https://linuxcontainers.org/incus
Re:About Containers and VMs
by hsjmdjdjdb on Saturday August 30, 2025 @01:54AM
(#45072203)
Not a replacement but a fork of lxd.
Re:About Containers and VMs
by lotharcable on Thursday August 28, 2025 @11:21AM
(#45053343)
I think that using the term 'application containers' to reference docker and 'system containers' to reference LXC is a bit of a meaningless distinction.
You can 100% host "systems containers" on Docker and you can host "applications" on LXC.
Like if I want a entire OS with it's own init system and users and so on and so forth I can do it it OCI images.
In fact I use it every single day with distrobox on top of Podman using OCI container images.
And it works a hell of a lot better then if I tried to do it on LXC.
Re:About Containers and VMs
by alexeldeib on Thursday August 28, 2025 @11:43PM
(#45059918)
yeah, the system/application distinction feels somewhat superficial. The “multiple user space” inside a container thing sounds interesting (not sure what that means exactly), but maybe more similar to a Kubernetes pod, except maybe instead of different rootfs there’s another isolation mechanism?
I'll have to remember that one!
That's literally the opposite of what this documentation is explaining. System containers exist. You can run the entire userspace of an OS (including systemd) in a container.