There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

bruce965 , (edited )
@bruce965@lemmy.ml avatar

None, I use Docker for Linux, and Proton (Heroic) for Windows.

But if I had to pick a virtual machine: libvirt with virt-manager as a frontend, which uses KVM for virtualization.

Mwa OP ,
@Mwa@thelemmy.club avatar

But if I had to pick a virtual machine: libvirt with virt-manager as a frontend, which uses KVM for virtualization.

Its fair bcs vmware workstation does not support gpu passthrough libvirt with virt-manager is the only way

Nomecks ,

OpenShift Virtualization

mitrosus ,

Can virt-manager boot windows boxes?

med ,

Yeah, though there’s some commandline shenanigans to get a tpm shim set up if you want it for windows 11

mitrosus ,

I am planning for XP.

QuazarOmega ,

Absolutely, it’s also made way easier with quickemu, allows you to spin up a properly configured Windows VM with pretty much no effort

krash ,

Correct me I’d I’m wrong, but with docker you’re limited to the filesyatems and the image of the OS you’re installing. If you need to experiment with the pre-OS boot events, can that even be accomplished with docker? E.g., trying out different GRUB settings, setting up LUKS with dropbear etc. I think those things require a VM.

bruce965 ,
@bruce965@lemmy.ml avatar

Yeah, you are correct. Docker shares the kernel with the host operating system, it doesn’t use hardware virtualization. That’s why it’s so fast and simple, but it also means it’s not a traditional VM and thus comes with some limitations.

fmstrat ,

From my other comment:

Then I created a Docker image with Linux, Gnome, and novnc so I can spin one up instantly with little resource overhead and control it from any web browser.

Maybe I should release my Dockerfile.

Telorand ,

I’m just now learning about Docker and Containerfiles, so I wouldn’t be opposed to a real world example…

fmstrat ,

And the example finally exists: nowsci.com/webbian/

Telorand ,

Neat! Gonna look over that!

bruce965 ,
@bruce965@lemmy.ml avatar

I might actually be interested. It’s like a lightweight alternative to Proxmox?

fmstrat ,

Sort of, Proxmox does use noVNC I think, but it’s a lot of overhead. This is just a docker command. I’ve finally put a page up for it: nowsci.com/webbian/

bruce965 ,
@bruce965@lemmy.ml avatar

I didn’t understand that you ran it without hardware virtualization. This is really convenient, thanks a lot for making it!

umbrella ,
@umbrella@lemmy.ml avatar

i’m listening.

fmstrat ,

Finally got around to it: nowsci.com/webbian/

umbrella ,
@umbrella@lemmy.ml avatar

i will be trying that one out for sure. this looks awesome for a headless desktop.

bjoern_tantau ,
@bjoern_tantau@swg-empire.de avatar

Usually VirtualBox. It’s easy and free.

Mwa OP , (edited )
@Mwa@thelemmy.club avatar

I agree ngl i prefer vmware more

Diplomjodler3 ,

Me three.

frankenswine ,

a rather odd choice given the alternatives

bjoern_tantau ,
@bjoern_tantau@swg-empire.de avatar

Besides VMWare it always seemed the easiest for me to quickly make a Windows VM or so. Everything else usually had more configuration steps. But that’s been a while ago. There could very well have been easier tools available in the mean time. I never bothered to look.

I only ever used “permanent” virtualization once on my server. I think with Xen. But it didn’t give me any benefits for my use case so I dropped it later on. Also probably at least ten years ago.

furry ,
@furry@furry.engineer avatar

@Mwa qemu :blobfoxcomfycomputer:

thingsiplay ,

Qemu+Kvm with virt-manager is my boy nowadays. But I’m not a heavy user of Vms, just experimented with this to build some Flatpak. But plan on trying out other distributions, just for science. It wasn’t easy to figure out how to share a folder, and I could not get drag and drop or clipboard share to work. Still though, its faster than any other solution. I used VirtualBox in the past, which was easy to work with.

featured ,

I use libvirt to do all my kvm/qemu stuff on my server. Using cockpit-machines web UI as a frontend. On my workstation if I ever need a VM I usually turn to Gnome Boxes for simplicity

GolfNovemberUniform ,
@GolfNovemberUniform@lemmy.ml avatar

GNOME Boxes because it doesn’t require 5 academic degrees to set up and I’m a GNOME user.

I_Miss_Daniel ,

Same.

The lack of graphics acceleration is a bit painful though.

VirtualBox won’t work on Fedora 40 AFAICT, and once installed it can’t be uninstalled.

TheGrandNagus ,

It has graphics acceleration.

I_Miss_Daniel ,

I’ll have another look. Didn’t seem to be an option to have it on a Windows guest when I installed it.

GolfNovemberUniform ,
@GolfNovemberUniform@lemmy.ml avatar

Yes afaik it should have it.

possiblylinux127 ,

It also isn’t entirely foss

nzmaa ,

I’m a GNOME user. Gross

Mwa OP ,
@Mwa@thelemmy.club avatar

Real for me it was problematic it was barely customizable and tracker3 randomly broke most of my apps

TheGrandNagus ,

Grow up. People use different software to you. It’s not the end of the world.

Besides, Gnome is great.

freedomsailor ,
@freedomsailor@programming.dev avatar

Gnome Boxes 🥲 Because im avoiding to install anything to the kernel.

GolfNovemberUniform ,
@GolfNovemberUniform@lemmy.ml avatar

You should never install anything to the kernel if possible tbh.

atzanteol ,
possiblylinux127 ,

You also could try virtual manager

It is all KVM so it is natively supported

lnxtx ,
@lnxtx@feddit.nl avatar

VirtualBox (desktop for testing and development), KVM: libvirt, Proxmox (production stuff).

possiblylinux127 ,

Just be mindful of guest addons. (The are not foss)

MrCamel999 ,
@MrCamel999@programming.dev avatar

I use virt-manager, aka Virtual Machine Manager. Using this specifically because of the winapps for Linux repo has instructions on how to get Windows apps to run through the VM to be integrated in a Linux environment.

Mwa OP ,
@Mwa@thelemmy.club avatar

might try that tbh am gonna run razer software or apps that dont work on linux at all and for games am gonna use my windows ssd

CosmicTurtle0 ,

How “scriptable” is virt-manager?

My biggest issue with VirtualBox is that I have to install OSes as if I’m actually installing them. There aren’t any images (at least that I’m aware of) that can run with a command, like deploying an EC2.

skullgiver ,
@skullgiver@popplesburger.hilciferous.nl avatar

virt-manager is a frontend for a bunch of virtualisation systems, but usually it’s configured for qemu+kvm+libvirt.

Libvirt is a dedicated API to managing virtual machines. It’s probably most versatile when launching new VMs on it by using the libvirt XML definitions, but there’s an API you can use if you want more low level access, and optional command line tooling as well.

Something like virt-install --name=lemmyvm --vcpus=1 --memory=2048 --cdrom=/tmp/debian-netinst.iso --disk size=50 --os-variant=debian12 should automatically install a Debian 12 VM (from a downloaded ISO) through the automated setup process. It’s been a while since I used that, though, so you may need an extra step or two to get the setup to autocomplete today. I think cloudinit is how you auto setup Linux distros these days?

stsquad ,

Virt-manager isn’t super scriptable but the underlying libvirt can be controlled by virsh which is a shell interface to libvirt. You can use both at the same time, e.g. start and stop via virsh and access to gui container via virt-manager/virt-viewer.

possiblylinux127 ,

Virtual manager isn’t scriptable at all as it is just a GUI for libvirt. You are probably looking for qemu or virsh (libvirt)

TheGrandNagus , (edited )

Gnome boxes.

Based on QEMU+KVM so it’s quite robust. It works pretty well, plus it has various little features working out of the box that in some other software is a pain in the arse to configure.

Sticks out a bit on my system due to still being GTK3, but there is a GTK4 prototype out that usually works well.

E: downvoting anybody who says Gnome Boxes because you use a different virtual machine frontend is laughably pathetic lmao. Some people in the Linux community are such losers lol

nickb333 ,
@nickb333@fedia.io avatar

Does it matter what front end it uses if the underlying environment is QEMU+KVM.
Upvote for tha above.

possiblylinux127 ,

It doesn’t work for all cases and it is annoying that you have to wait until creation to change CPU count.

fmstrat ,

I used KVM with virt-manager for a long time. Even ran a gaming VM with GPU pass-through.

Then I created a Docker image with Linux, Gnome, and novnc so I can spin one up instantly with little resource overhead and control it from any web browser.

frankenswine ,

control it from any whuAT!?

Rick_C137 ,
@Rick_C137@programming.dev avatar

Proxmox seem powerfull

It’s a Type1, not Type2
en.wikipedia.org/wiki/Hypervisor#Classification

hperrin ,

I use Proxmox for the machine that I use to download all of the Linux ISOs I want. You know, with a VPN, through BitTorrent. Linux ISOs.

sfera ,

Thanks for the pointer. But since Proxmox supports both KVM and LXC virtualization, wouldn’t that make it both type 1 and type 2?

possiblylinux127 ,

Proxmox isn’t really its own hypervisor. It combines a few common projects to make a OS. It is pretty much KVM with corosync for clustering.

With that being said it is a solid platform. Just keep in mind it is just standard Linux virtualization and for single nodes you can get the exact same setup easily on any Linux system.

princessnorah ,
@princessnorah@lemmy.blahaj.zone avatar

Well, the exact same except for the frontend. It’s arguably better than virt-manager imo. I wonder how hard it would be to get pve-manager running outside the OS.

possiblylinux127 ,

You absolutely can. People have done Proxmox installs on Debian and unsupported architectures by building from source.

velox_vulnus ,

You can run a system as a VM on Guix, so yes, that. It’s a type-2 hypervisor, as it uses QEMU. Pretty sure this also works for NixOS.

possiblylinux127 ,

Qemu can be a type I as well if you use hardware acceleration such as KVM or Hyper-V.

IsoSpandy ,

Virtmanger-kvm-qemu

wildbus8979 ,

Virt-Manager, even works remotely via SSH.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines