You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Podman tries to import the machine-os into WSL even when it's impossible because the Windows features Microsoft-Windows-Subsystem-Linux and VirtualMachinePlatform aren't enabled.
This is a regression observed with the latest version of the WSL client (2.3.26.0 or later).
Steps to reproduce the issue
Steps to reproduce the issue
Make sure to have latest version WSL (wsl --update)
Disable the Windows features Microsoft-Windows-Subsystem-Linux and VirtualMachinePlatform
Run podman machine init
Describe the results you received
Extracting compressed file: podman-machine-default-amd64: done
Importing operating system into WSL (this may take a few minutes on a new WSL install)...
Import in progress, this may take a few minutes.
The operation could not be started because a required feature is not installed.
Error code: Wsl/Service/RegisterDistro/CreateVm/HCS/HCS_E_SERVICE_NOT_AVAILABLE
Error: the WSL import of guest OS failed: command C:\Users\mario\AppData\Local\Microsoft\WindowsApps\wsl.exe [--import podman-machine-default C:\Users\mario\.local\share\containers\podman\machine\wsl\wsldist\podman-machine-default C:\Users\mario\.local\share\containers\podman\machine\wsl\podman-machine-default-amd64 --version 2] failed: exit status 0xffffffff
WSL is not installed on this system, installing it.
NOTE: A system reboot will be required as part of this process.
If you prefer, you may abort now, and perform a manual installation using the "wsl --install" command.
podman info output
OS: windows/amd64provider: wslversion: 5.4.0-dev
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered:
Issue Description
Podman tries to import the machine-os into WSL even when it's impossible because the Windows features
Microsoft-Windows-Subsystem-Linux
andVirtualMachinePlatform
aren't enabled.This is a regression observed with the latest version of the WSL client (2.3.26.0 or later).
Steps to reproduce the issue
Steps to reproduce the issue
wsl --update
)Microsoft-Windows-Subsystem-Linux
andVirtualMachinePlatform
podman machine init
Describe the results you received
Describe the results you expected
The command should NOT try to import the machine OS in WSL and propose to install WSL to the user:
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: