Comment by predkambrij
18 days ago
I'm playing with repeatable development environment with incus. So, it's like in Docker, but naturally more things should be possible (eg. snap package manager is the ultimate test), but still more disposable than VMs (eg. it won't finish your laptop battery and annoy your ears with fan).
https://github.com/predkambrij/incus-container-desktop https://github.com/predkambrij/devcontainer
What are advantages compared to Docker/Apple containers/VMs like Virtual Box?
I'm a Linux user (I don't know Apple much). I use devcontainers (the repo I listed) for almost everything, because almost everything is possible to do with about zero overhead. Eg, it won't do memory fragmantation that VMs do, processes are just the same, as on host. GUI apps work just the same as the ones on host, which is really cool. Storage can be an issue if images multiply too much, but not a real issue. Incus is a bit different, I still evaluate it, so can't comment much. By description is just the very thing I was looking for (a VM, but without VM's overhead). It's amazing, that Debian12 desktop will start in about 2 seconds. Performance is again just the same as on host's machine. VMs are still cool, I still use them, where I want to be really sure that I won't have a bug that containers would cause them (weird networking and such).