The container operating system does not match the host operating system

 When you get the following error while making the containers up

docker: Error response from daemon: hcs::CreateComputeSystem 377c5ba81cdccd9cf8217251aba4171ca3bd6a593f14db12c3ae6ead394530c3: The container operating system does not match the host operating system.

Solution:

Windows 10 OS on AVD runs within Windows Server. As a result, docker desktop engine detects the Product Type as 3 which means VER_NT_SERVER (Windows Server). The default isolation is ‘Process’ for windows server, hence the docker throws the incompatible host OS.


What' the work around?


Set isolation type to hyerv.


{

"exec-opts": ["isolation=hyperv"],

"experimental": false

}



Thanks!


1 comment:

  1. https://sitecorepeanuts.blogspot.com/2024/06/the-container-operating-system-does-not.html

    ReplyDelete

Troubleshoot personalization on xm cloud

Here are the troubleshooting steps below that helped personalization to work. We checked the events analytics in the page builder but it was...