-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Windows podman installation without admin rights #22994
Comments
If i remember correctly, you can use Podman, WSL, and Windows without administrative privileges. HyperV does require it. I believe the requirement is coming from Podman Desktop and therefore the issue should be filed against their github. I'll try and move the issue. |
@baude Are we sure this does not belong to containers/podman ? Podman Desktop is flagging that Podman is missing. The Podman installer then requests admin rights. I assume that if the Podman installer allowed non-privileged installation, I could initiate the WSL distro using the Podman machine command, which should then satisfy Podman Desktop? |
Should be move to containers/podman but admin rights are required because WSL installation/update may be required |
@jeffmaury Is there any script that I can run to just create WSL distro with necessary components ? |
Not that I am aware but you should ask on the podman repository |
PS. This is currently excluding podman to be installed on devices in organisations with CE+ certifications |
Podman installer on Windows indeed requires admin privileges. By default the installer copies podman binaries in That said, using podman machine ( |
A workaround, If you want to install podman on Windows without requiring admin privileges, is to download |
Ok, so this seems to work well for me. As per your advice @l0rd:
It would be great to have end-to-end local installation option available within installer itself 👍 |
I agree @JayDoubleu. This is something that can be improved. On the other hand, when prioritizing this issue, we have to consider how widespread this problem is. I suspect that we didn't get this request earlier because most Windows users are ok to run installers that require admin privileges. Anyway thank you for reporting this issue and for testing the workaround that I have suggested. |
It's true; I happened to be testing Podman as a Docker replacement on a corporate device, so I'm happy to perform some testing if and when this gets prioritized. One of the reasons why Podman is considered here is its rootless aspect (although it's inside a WSL2 microVM, so it's already running in userspace). The idea of running Docker/Podman entirely without admin rights might be very appealing to companies with CE+ certifications where each admin access request is scrutinized. |
A friendly reminder that this issue had no activity for 30 days. |
Feature request description
I'm using Windows 11 and have WSL2 installed. I downloaded Podman Desktop, which I was able to run without admin rights. However, when I open Podman Desktop, it tries to install Podman, which requires admin rights. I would like to use podman on windows with wsl2 without having to use admin rights.
Suggest potential solution
Have you considered any alternatives?
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: