dockerfiles-windows icon indicating copy to clipboard operation
dockerfiles-windows copied to clipboard

Please update the dockertls images to newer baseimages

Open kirkone opened this issue 3 years ago • 3 comments

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.

kirkone avatar Mar 29 '21 21:03 kirkone

Hi @kirkone , I agree it hasn‘t been updated for a while. but you could try and run it in hyperv isolation mode.

StefanScherer avatar Apr 02 '21 07:04 StefanScherer

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.

kirkone avatar Apr 06 '21 15:04 kirkone

Thanks for your feedback. I‘m glad you could build an image that better works for your host OS version.

StefanScherer avatar Apr 06 '21 17:04 StefanScherer