https://fosdem.org/2024/schedule/event/fosdem-2024-3063-using-chroots-in-a-single-linux-container-as-an-alternative-to-docker-compose/

DevOps, sysadmins, etc, thoughts on this? Semms dope as hell

Reply to this note

Please Login to reply.

Discussion

you should check out nspawn, lets you run services inside linux namespace isolated LXC containers

I've looked at it because that's what @cloudfodder is doing with relay.tools

But I've not seen a performance comparison

well it's just LXC, you can do a similar thing with libvirt also, but nspawn lets you run them as system services

docker containers default to this environment also but docker is a little more overhead and complexity with the layered filesystem, nspawn you have to make it all in one layer

What's the benefit of a system service?

starts automatically when your server boots, can be easily restarted, and is contained and doesn't affect your server's setup

Oh like system ctl stuff, duh. You can't do that with lxc? How does lxc impact server setup

Circular evolution baby! Yeah this is similar to what I'd be doing, they may not have stumbled on systemd-nspawn yet 😎. Umbrel shot themselves in the foot with docker fr.