Hi Folks,
Recently i was trying to explore XM-Cloud and the repository provided by Sitecore technical marketing team from GITHUB
I followed all the steps but i was trapped on following error
Problem
A Windows version 10.0.20348-based image is incompatible with a 10.0.19044 host docker
See below image, what i was seeing
Solution
Basically that error is saying is that the image is built on the latest OS version and because i am running it in my local, and my local is windows 10, so i needed to find some way to make it compatible.
Basically, its the Microsoft nano server which are compatible with build version of the docker image, It clearly says in step 5/14 of above image that what version it is using, somehow i will need to change that to a compatible version to run it my local windows OS.
https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/version-compatibility?tabs=windows-server-2022%2Cwindows-10-21H1 this talks very nicely about all these versions in details
Also good information of what are our options for if the container was built on higher version and in local we want to be compatible given n https://hub.docker.com/_/microsoft-windows-nanoserver
So, as you can see in below image, RED is the actual values which got shipped with repository and green is what i changed to
Basically, i copied SOLUTION_BUILD_IMAGE value to NETCORE_RELEASE_IMAGE and SOLUTION_BASE_IMAGE to NETCORE_BUILD_IMAGE
After that things were smooth and container was built successfully !!!
I am sure because this repo is built on windows server 2022, if we try to run it locally in windows OS, everyone is going to get the same error, so hope this will be helpful
Happy XM-Cloud troubleshooting :)
Comments
Post a Comment