question

MaduraDissanayake-0886 avatar image
0 Votes"
MaduraDissanayake-0886 asked SumanthMarigowda-MSFT edited

The container operating system does not match the host operating system

Hi

I'm using AKS and trying to start a windows container but it gives me error "The container operating system does not match the host operating system" but I created a windows node pool in my configuration and which was used inside deployment.yaml.

91635-image.png



Can anyone guide me how can I resolve this issue ?
I'm using mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-ltsc2016 as the docker image.

Thanks.

azure-kubernetes-service
image.png (28.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SumanthMarigowda-MSFT avatar image
0 Votes"
SumanthMarigowda-MSFT answered SumanthMarigowda-MSFT edited

@MaduraDissanayake-0886 Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

There is a similar threads discussion in SO forum here and here, please refer to the suggestion and troubleshooting steps. Which provide some insights on your query!

If you still find any difficulties, please let us know, I would like to work closer on this scenario.

Windows container version compatibility

Hope this helps!


Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.