Remix.run Logo
baggy_trough 4 days ago

Did you try systemd's containers (nspawn)?

sovietmudkipz 4 days ago | parent [-]

…no. TIL.

nszceta 4 days ago | parent | next [-]

I wrote a blog post about using nspawn from an Arch Linux host. The Arch Wiki shows more information about how to get a Debian base if you want that instead. Link to the wiki is at the bottom of the blog post along with more references.

https://adamgradzki.com/lightweight-development-sandboxes-wi...

panick21_ 4 days ago | parent | prev [-]

Portable services are another option.

open-paren 4 days ago | parent [-]

And podman systemd quadlets yet another

https://docs.podman.io/en/latest/markdown/podman-systemd.uni...

sovietmudkipz 4 days ago | parent [-]

Wow systemd can do more than I thought to imagine it could

bonzini 4 days ago | parent [-]

Technically that's part of podman, not systemd. But it's the same architecture that was used to support sysvinit scripts.

(In fact, nothing prevents anyone from extracting and repackaging the sysvinit generator, now that I think of it).