-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: Work on Linux even without podman machine
#9
Comments
I just chatted with @germag about this yesterday as well. I'd prefer requiring root privileges rather than spinning up a podman machine on Linux. Maybe we find a way to not require root, which would be perfect. |
Mmm. I don't think we should require root so much as access to libvirt - now in reality, I think full unrestricted Note that if we started using Here's the way I would put it: there's two totally reasonable ways to want to use the system, and in the limit we probably need to support both:
|
I think libvirt maintainers consider the 2 to be equivalent (root access and qemu:///system access). It's for example easy to use libvirt storage pool/volume API to read/write to files in arbitrary places (though selinux could block some of these) |
I tried 3 different approaches, and I was able to remove (or reduce) the podman-machine requirement, 1 - Running as root This will require a new option/command like
Pros:
Cons:
2- Using crun-krun
Pros:
Cons:
3- Using podman-machine only to run the installation We still use podman-machine, but the images will be stored in the host Pros:
Cons:
I think we can support 1 and 2. I'll start implementing 1, and send a PR to libkrun to support btrfs. Btw, running directly as a root will also be supported. |
I like this one! |
We'd like to support Linux without
podman machine
.Other discussions:
The text was updated successfully, but these errors were encountered: