Unable to Install Docker Desktop on Azure VM successfully

Jamester Go 30 Reputation points
2023-07-01T01:14:00.01+00:00

Hi Microsoft Team / Community

I am writing here in the community to reach for answers and recommendations for my problem that has been an issue.

I am currently trying to install the docker desktop on our AzureVM, I have followed every step and requirement but am still getting errors. I have already tried with 3 VMs and still getting the same error.

Below is the error that I am getting
User's image

I have already reviewed the installed features required and the expectation is that the installation should be like a walk in the park, yet I am still struggling to sort this out. below are the features enabled

User's image

VM Details
User's image

User's image

Hoping to get some feedback regarding my issue, I have been trying to resolve this for quite sometime now

Thank you and regards

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,015 questions
Windows for business Windows Client for IT Pros Storage high availability Virtualization and Hyper-V
0 comments No comments
{count} vote

Accepted answer
  1. Luke Murray 11,436 Reputation points MVP Volunteer Moderator
    2023-07-01T02:34:52.9266667+00:00

    Hi, Jamestar

    Because the Azure Virtual Machine, is already virtulized - you need to make sure you are using a SKU that supports nested virtualization.

    This is worth a read as well: Run Docker Desktop in a Windows or VDI environment.

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Tore Nestenius 25 Reputation points MVP
    2024-09-26T08:37:46.77+00:00

    I had the same problem, and my solution was to do the following:

    1. Ensure that the VM SKU size supports virtualization, and I usually use Standard_D2s_v3 or Standard_D2s_v4.
    2. Ensure you do not enable Trusted Launch Virtual Machines because this feature disables virtualization inside the VM.

    I blogged about the details about how to get Docker to run in Azure here: Running Docker in an Azure Windows Virtual Machine – Not so fast!

    1 person found this answer helpful.
    0 comments No comments

  2. matjung 106 Reputation points
    2023-09-28T07:39:29.9966667+00:00

    @Jamester Go Did you find a solution?

    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.