Do you need to install Docker Desktop to Windows 10 which runs on Azure? You just need to select right VM which support nested virtualization.
I usually use "Standard_D2s_v3" as that's the lowest cost yet runs just fine.
Just check the article above.
- Create VM by selecting appropriate size. !!The default size doesn't support Docker!!
- Install Docker by using installer from Docker Hub
- Follow the message. It installs required components and you need to restart at least one time.
- Make sure everything runs correctly.
If you are using incorrect size, then you see:
Failed to start the virtual machine 'MobyLinuxVM' because one of the Hyper-V components is not running.