• 0 Posts
  • 11 Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle





  • I think there are two “Docker for Windows” one is docker desktop used on windows client OS where you can switch between windows and linux containers. This is the one where it runs a VM for the Linux containers but it’s designed for development and not so much for hosting (at least I have not get it to work for this)

    And there is the docker that’s included in Windows Server wich can only run windows containers but those natively and suitable for hosting dotnet web services on scale.





  • While there is a docker version for windows (server I believe) the last time I checked it could only run windows containers (so basically none). The Linux support never got out of beta. I think now they are just saying use windows subsystem for Linux (WSL) for that.

    I have been quite happy with docker on a Linux virtual machine hosted on a windows server (I know not the “normal” way to do it but since I am a windows Server admin at work it worked best for me).

    The reason that you cannot run Linux containers on windows by default is that docker is no full fledged virtualization Software it sill uses the kernel of the host system. And a Linux container needs a Linux host system.