dockerfiles-windows
dockerfiles-windows copied to clipboard
Please update the dockertls images to newer baseimages
Hi,
as this is mentioned in the current documentation by Microsoft it would be nice to have this also working with newer host servers.
I tryed it on Windows Server 20H2 and get the following error:
The container operating system does not match the host operating system
Please let me know if I can help in any way.
Hi @kirkone , I agree it hasn‘t been updated for a while. but you could try and run it in hyperv isolation mode.
Hello @StefanScherer
I solved it by building my own Image based on your docker file with this base Image:
mcr.microsoft.com/powershell:nanoserver-2004
And I had to replace containeruser
with containeradmin
because of the changes in the windows image.
Thanks for your feedback. I‘m glad you could build an image that better works for your host OS version.