Docker for Windows in AWS machine

Hi,

Can we install Docker for Windows in AWS Windows machine.

We are getting the below error while installing in AWS Windows machine.

Unable to start: The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: ‘MobyLinuxVM’ failed to start.

Failed to start the virtual machine ‘MobyLinuxVM’ because one of the Hyper-V components is not running.

’MobyLinuxVM’ failed to start.

The Virtual Machine Management Service failed to start the virtual machine ‘MobyLinuxVM’ because one of the Hyper-V components is not running

Please help.

Docker for Windows uses a Linux VM running in Hyper-V, so the question is: Can you run Hyper-V inside a VM virtualized using a completely different technology? This question is around since years and the answer was always no. Remember that even on your local PC you can’t enable Hyper-V and install Virtualbox in parallel. Windows Server 2016 supports nested virtualization, but then you have Hyper-V inside Hyper-V.
Have you read the documentation on Amazon about how to use Docker in an Amazon Linux instance?