Enable WSL/Hyper-V for docker installation

Sourav 105 Reputation points
2024-05-27T12:31:29.4066667+00:00

Hello-

How can we enable WLS/Hyper-V for setting up docker in windows 10 on ?

  1. Azure Virtual Desktop - Is it possible or not ?
  2. If not is it possible if we create a new Azure VM or any other option ?

User's image

Thanks,

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

2 answers

Sort by: Most helpful
  1. Anveshreddy Nimmala 3,545 Reputation points Microsoft Vendor
    2024-05-28T04:52:53.1966667+00:00

    Hello Sourav,

    Welcome to microsoft Q&A, thankyou for posting your query here.

    AVD does not support nested virtualization, which is required for Hyper-V.

    Using an Azure VM to run Docker is a feasible

    Choose a VM size that supports nested virtualization i.e, Dv3, Ev3 series.

    User's image

    Hope this helps you.


  2. Udayashankar K.N 80 Reputation points Microsoft Employee
    2024-05-29T13:59:48.0466667+00:00

    u can even use docker desktop for the feature so that it can come inside a hyper V as a VM However u will not have visibility to the VM however all the tasks can be performed.

    https://docs.docker.com/desktop/install/windows-install/

    0 comments No comments

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.