unexpected error was encountered while executing a WSL command

Glenn Maxwell 12,871 Reputation points
2023-05-20T07:30:10.9466667+00:00

Hi All

i have installed on Docker Desktop on Windows 10 VM. i am getting the below error opening Docker Desktop.An unexpected error was encountered while executing a WSL command. Common causes include access rights issues, which occur after waking the computer or not being connected to your domain/active directory.i have did wsl --update. i have enabled below Windows Features. i am using D32as does it support virtualization?

Containers, HyperV,Virtual Machine Platform,Windows Hypervisor Platform, Windows Subsystem for Linux

error

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
Windows for business | Windows Client for IT Pros | User experience | Other
{count} vote

Accepted answer
  1. Konstantinos Passadis 19,586 Reputation points MVP
    2023-05-20T09:02:34.7666667+00:00

    Hello @Glenn Maxwell !

    I see you are getting this error on Docker

    The VM with the "v" are usually the ones you need !

    For Azure VMs:

    Azure supports nested virtualization only on new sizes that introduce Hyper-Threading Technology running on the Intel processors
    Here is a list of Azure VM Sizes that support Nested Virtualization:
    
        D_v3
        Ds_v3
        Dv4
        Dsv4
        Ddv4
        Ddsv4
        E_v3
        Es_v3
        Ev4
        Esv4
        Edv4
        Edsv4
        F2s_v2 – F72s_v2
        FX4 – FX48
        M
    
    The VM sizes mentioned above, are the current ones that support nested virtualization. List could be updated in future, please see documentation
    
    https://azure.microsoft.com/en-us/blog/nested-virtualization-in-azure/
    
    
    
    

    Similar thread : https://learn.microsoft.com/en-us/answers/questions/813416/how-do-i-know-what-size-azure-vm-supports-nested-v

    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.