this post was submitted on 12 Jun 2024
61 points (96.9% liked)

Linux

47940 readers
1238 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] TCB13@lemmy.world 40 points 4 months ago* (last edited 4 months ago) (3 children)

I'm just going to point out that besides containers, systemd can now manage virtual machines:

systemd version we added systemd-vmspawn. It's a small wrapper around qemu, which has the point of making it as nice and simple to use qemu as it is to use nspawn.

The idea is that we provide a roughly command line equivalent interface to VMs as for containers, so that it really is as easy to invoke a VM as it already is to invoke a container, supporting both boot from DDIs and boot from directories.

[–] possiblylinux127@lemmy.zip 14 points 4 months ago (1 children)

That actually could be really handy. I'll have to check it out once this release moves downstream.

[–] TCB13@lemmy.world 5 points 4 months ago* (last edited 4 months ago) (1 children)

Yeah, meanwhile I’ll keep using LXD / Incus for both containers and VMs.

Incus has a few advantages: an image repository, a nicer container manager (cli tools) and sane security defaults. By default Incus assumes your containers should be isolated and secure environments while systemd-nspawn is more about quick and dirty containers useful to compile something or run some trusted task.

[–] llii@discuss.tchncs.de 5 points 4 months ago (1 children)

The thing with Incus is that you get the image repository and manager and the permissions applied to containers make them isolated and secure environments by default running on another user etc etc

This is really hard to read.

[–] TCB13@lemmy.world 2 points 4 months ago (1 children)

Yeah, I was typing from my phone while being distracted by other people. Fixed now.

[–] llii@discuss.tchncs.de 1 points 4 months ago

Thanks, that's much easier to read. :)

[–] umbrella@lemmy.ml 3 points 4 months ago (1 children)

systemd really wants to do everything

[–] TCB13@lemmy.world 2 points 4 months ago

Yes 😂 😂 😂