Unable to build docker for aspnet core application

Getting bellow error during build docker for an aspnet core application in visual studio 2019. Docker desktop is installed on OS Windows 10 Enterprise.

Error message:
container encountered an error during hcsshim::System::Start: failure in a Windows system call: The virtual machine or container exited unexpectedly. (0xc0370106)

Any help would much appreciated

Can you provide any detail about how you started the container?

Have you seen this github issue?

Thanks for your reply. This issue got closed

I am getting same error code after running a base windows image on a windows server 2019.

Error message:
container encountered an error during hcsshim::System::Start: failure in a Windows system call: The virtual machine or container exited unexpectedly. (0xc0370106)

Host OS: Windows Server 2019 (OS Build 17763.3772)
Docker Desktop version: 20.10.21
image used: mcr.microsoft.com/windows/servercore:1809
Command to reproduce: docker run -it Microsoft Artifact Registry

When I run the same image on another windows 10 machine, it works fine.