this post was submitted on 26 Jan 2025
89 points (96.8% liked)

Linux

49395 readers
1920 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
 

VirtualBox is ridiculously simple to set up and get virtual machines going. Shared folders, shared clipboard and much more are no issue.

But.

It eats resources. The installed virtual machines (VM) run relatively slow. What have you found to be feature comparable - and most importantly more resource-efficient - alternatives for running VMs under Linux?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 4 days ago* (last edited 4 days ago) (3 children)

As jet points out, QEMU for actual hardware virtualisation.

There is one relevant thing, which is not exactly in the same category, but does somewhat similar thing:
containers
most popular example being Docker
https://en.wikipedia.org/wiki/Containerization_(computing)
containers don't emulate whole hardware stack like virtual machines do, they just run the guest OS on top of host OS.
so because they don't put resources towards emulating hardware, they are much more resource efficient.
so if your problem is "I'm running Fedora but I want to run something that for some reason runs just on Ubuntu", then you could use containers for that.
containers are mostly used in headless environments (as in servers, no GUI), so running and displaying desktop Linux inside them is a bit tricky, but it can be done.

[–] [email protected] 12 points 4 days ago (1 children)

they emulate just the OS

Containers don't emulate anything. They have an OS installed within them. Typically you use Alpine Linux which super minimalistic and lightweight.

[–] [email protected] 3 points 4 days ago

yes, valid point, thank you for the correction

[–] [email protected] 4 points 4 days ago (1 children)

I've been using https://containertoolbx.org/ recently to manage my "other distro" requirements. It doesn't do anything special but works nicely as a wrapper around podman and does all the bind mounts and uid mappings so you can just enter your $HOME as though you have set up your account in a new OS.

[–] [email protected] 2 points 3 days ago

Distrobox is Toolbx but more portable (packaged on basically all distributions) and supports way more distributions as guests. I recommend using that if not on Fedora or you want to run a different guest than Fedora.

[–] [email protected] 3 points 4 days ago* (last edited 4 days ago)

for running GUI app, I use flatpak which is a sort of a container / sandbox