7 ms·
I'm now deploying all my projects in Incus container (LXC). My base system is upgradeable, ZFS-based, in future will be IncusOS but now just Ubuntu. Incus is co
by k_bx 11mo ago
I'm now deploying all my projects in Incus container (LXC). My base system is upgradeable, ZFS-based, in future will be IncusOS but now just Ubuntu. Incus is connected in cluster so I can: backup/copy projects, move between machines etc.
Containers reuse host system's new kernel, while inside I get Ubuntu 22.04. I don't see a good reason, if 22.04 will get 15-year life support, to upgrade it much. It's a perfect combination for me, keeping the project on 22.04 essentially forever, as long as my 22.04 build-container can still build the new version.
- HansHamster 11mo agoIsn't Incus/LXD separate from and running on top of LXC? People sometimes seem to use the names interchangeably which can be annoying because I run just plain LXC but when looking stuff up and come across "this is how you do XYZ on LXC" they are actually talking about LXD and it doesn't really apply. I can't recall what is was last time, but this has happened a couple of times already...
- k_bx 11mo agoMaybe, I'm a noob for now. Meaning Incus, LXC being the underlying tech.
- dotancohen 11mo agoSell it to me! Why not docker?
- k_bx 11mo agoIt's a container with full os: systemd, journald, tailscale, ssh inside. No need to learn new docker world, just install the deb with your software inside In a cluster mode, you can move container into another machine without downtime, back it up in full etc., also via one command. In theory when using ZFS or btrfs you can do incremental backup of the snapshot (send the diff only), but I never tried it.
- dotancohen 11mo agoWe can SSH in? X and Wayland forward comfortably? Their windows integrate with e.g. KDE? How about sharing files with the host os? USB devices such as cameras or Android devices?
- oblio 11mo agoIt's basically advanced chroot with more security limitations. Or at least that's what LXC was when I looked at it. Then LXD added some standard tooling, sort of Docker lite plus fewer restrictions in some aspects (systemd supported).
- dotancohen 11mo agoI see, thanks.
- casept 11mo agoIf you want desktop Integration, try distrobox.
- k_bx 11mo agoI don't need X and Wayland so can't say, I write server side software (and web UI)
- justincormack 11mo agoThe 15 year support is paid not free.
- egorfine 11mo ago> I don't see a good reason [...] to upgrade it much Imagine the world of pain when the time comes to upgrade the software to Ubuntu 37.04.
- layer8 11mo agoIt might even outlive Incus.