Skip to content
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

WSL required to use podman on Windows, but I want to use Hyper-V? #25356

Open
nddipiazza opened this issue Feb 18, 2025 · 3 comments
Open

WSL required to use podman on Windows, but I want to use Hyper-V? #25356

nddipiazza opened this issue Feb 18, 2025 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. windows issue/bug on Windows

Comments

@nddipiazza
Copy link

Issue Description

WSL is required to use install podman on Windows.
But I want to use Hyper-V

Why is then WSL required?

Steps to reproduce the issue

WSL is required to use install podman on Windows.

But I want to use Hyper-V

Do not install WSL.
Install Podman for Windows.
Try to setup podman.

Describe the results you received

Error: WSL is required.

Describe the results you expected

Why is WSL required when i want to use Hyper-V?

podman info output

WSL version should be >= 1.2.5.
Call 'wsl --version' in a terminal to check your wsl version.

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

Yes

Additional environment details

Windows 10/11 or windows server

Additional information

no additional info

@nddipiazza nddipiazza added the kind/bug Categorizes issue or PR as related to a bug. label Feb 18, 2025
@Luap99 Luap99 added the windows issue/bug on Windows label Feb 19, 2025
@baude
Copy link
Member

baude commented Feb 19, 2025

WSL is the default; you can certainly use hyperv. to do this, you need to set the machine provider in your containers.conf. if you need help with that ... check google or replay back here.

@JustACasual
Copy link

I would like to try and run a non WSL podman machine.
Is there some documentation on how to do that?
Google did not help me yet.

@arixmkii
Copy link
Contributor

I would like to try and run a non WSL podman machine.

There is a guide from Podman Desktop https://podman-desktop.io/docs/installation/windows-install#use-hyper-v-as-machine-provider

I also believe that current installers come with an option to choose default provider, but you may need to uninstall old installation completely for the selection to appear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. windows issue/bug on Windows
Projects
None yet
Development

No branches or pull requests

5 participants