I am trying to run a Linux docker image in AWS Windows 2019 server with HyperV installed and I get the error mentioned below.
Error response from daemon: failed to start service utility VM (createreadwrite): hcsshim::CreateComputeSystem : The virtual machine could not be started because a required feature is not installed.
I have already set experimental features as true. I have also done this to enable Nested HyperV
Enable-WindowsOptionalFeature -Online -FeatureName containers –All
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V –All
But when I do this I get an error that the VM machine object is not found and that the object is deleted.
Get-VM | ? State -eq 'Off' | Set-VMProcessor -ExposeVirtualizationExtensions $true
Can anyone please help with this issue or give me an alternate option of running Linux docker images on Windows.