Cannot switch WSl version from 1 to 2, and also cannot deploy Docker Desktop

Karol Tusinski 1 Reputation point
2022-07-04T11:40:29.823+00:00

I'm using Windows 11 Enterprise multi-session on Azure Virtual Desktop in UK South region.

The problem is that I cannot switch WSL version from 1 to 2. I run 'wsl --set-version Ubuntu 2' and then WSL shows all it's options, and the version stays the same.

Another issue which might be related to it, is when I install Docker Desktop, then run the application, Docker Desktop says: "Failed to deploy distro docker-desktop"

The VM series support Nested Virtualisation (checked that on ACU article).

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,451 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. srbhatta-MSFT 8,551 Reputation points Microsoft Employee
    2022-07-05T08:25:21.22+00:00

    Hello @Karol Tusinski ,
    Thanks for reaching out to Microsoft QnA.
    This issue looks similar to issue#7332. Could you please check this.
    Also, did you try updating your Windows 11? Looking forward to your response.


  2. Limitless Technology 39,516 Reputation points
    2022-07-05T13:34:05.427+00:00

    Hello,

    did you install any updates recently? Check any updates installed recently under Quality Updates. There are some updates that are mentioned with known issues that after the install users couldn't get Docker Desktop or WSL to start. The update is Windows 11 specific. For the Docker installation try to delete config file AppData/Roaming/Docker/settings.json
    start Docker Desktop (it will create new default settings.json)

    You will need to re-configure settings, so it is also good idea to save the old settings.json and compare settings with the new one.

    You might need also to check this article if you have older version:

    Manual installation steps for older versions of WSL
    https://learn.microsoft.com/en-us/windows/wsl/install-manual

    -------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments