podman-desktop: Podman Desktop setup failed on requirement check: WSL version should be >= 1.2.5.

Bug description

I tried to install Podman Desktop on my Windows 11 machine. I have enabled Virtualization and WSL2, yet it is failed at WSL version check. I’ve made sure that WSL2 is installed (wsl version check provided below).

image

Operating system

Windows 11

Installation Method

Installer from website/GitHub releases

Version

1.5.0

Steps to reproduce

  1. Download podman desktop from the official website: https://podman-desktop.io/downloads
  2. Install Podman Desktop

Relevant log output

❌ WSL Version

Details:
WSL version should be >= 1.2.5.

Additional context

> wsl --status
Default Distribution: Ubuntu-22.04
Default Version: 2

Windows Subsystem for Linux was last updated on 11/23/2023
WSL automatic updates are on.

Kernel version: 5.10.16

About this issue

  • Original URL
  • State: open
  • Created 7 months ago
  • Reactions: 4
  • Comments: 27 (7 by maintainers)

Most upvoted comments

I had this same problem and wsl --update from a command prompt running as an administrator fixed my problem.

@ermasavior no i’m currectly using the latest release and it works fine, at least you’re not using the pre-release 2.0.11 and something doesn’t work.

Which is the output of wsl -l -v? Can you try to run wsl --update? You could also try wsl --update --web-download which should install wsl by fetching the latest gh release https://github.com/microsoft/WSL/releases

I had the same problem. Running the command wsl --update fixed that issue.

@lstocchi it is detected as invalid command. perhaps the command has been deprecated?

what was the expected output of wsl --version?

> wsl --version
Invalid command line option: --version
Copyright (c) Microsoft Corporation. All rights reserved.

Usage: wsl.exe [Argument] [Options...] [CommandLine]

Arguments for running Linux binaries:

    If no command line is provided, wsl.exe launches the default shell.

    --exec, -e <CommandLine>
        Execute the specified command without using the default Linux shell.

    --
        Pass the remaining command line as is.
...
<truncated>

@ermasavior no i’m currectly using the latest release and it works fine, at least you’re not using the pre-release 2.0.11 and something doesn’t work.

Which is the output of wsl -l -v? Can you try to run wsl --update? You could also try wsl --update --web-download which should install wsl by fetching the latest gh release https://github.com/microsoft/WSL/releases

wsl --update worked for me!

if you get back help text with wsl --version that means its using the older built in variant of wsl. To fix that you just do wsl --update. Just tried with the latest 2.0.14 and wsl --version works fine

Hi @ermasavior, which is the output of wsl --version?

@ermasavior in the meantime you can manually download and install podman from https://github.com/containers/podman/releases/download/v4.7.2/podman-4.7.2-setup.exe

It’s work for me!!!Thanks!!!

@gerroon 1.6.3 version has been resolved and my environment is now normal.

1.6 should come this week

Windows 10 Version 22H2 19045.3758 I installed https://github.com/microsoft/WSL/releases/download/2.0.9/wsl.2.0.9.0.x64.msi wsl --version shows that the wsl version is 2.0.9 But docker desktop still displays “WSL version should be >= 1.2.5. Call ‘wsl --version’ in a terminal to check your wsl version.” This problem has been torturing me for a few days. No matter how I uninstall and reinstall, docker desktop still detects “WSL version should be >= 1.2.5.”

image

This bug makes me very autistic ! please help me ! @cdrage @jeffmaury

@ermasavior in the meantime you can manually download and install podman from https://github.com/containers/podman/releases/download/v4.7.2/podman-4.7.2-setup.exe