Can someone clear this up?

The Windows Server 2016 container technology is Docker correct? And an oversimplified assumption it's some Hyper-v translation layer between Docker and Windows?

  • Can you dockerize pure Win32 applications?
  • Or is it just used to run existing linux based Docker containers?
  • For Windows based app you can Dockerize .Net Core applications?
  • Too bad this was closed. SE moderators are really stupid. – Ronnie Overby May 10 '17 at 18:46
  • You would think container technology falls under servers. Oh well. – user432024 May 10 '17 at 18:49

Update: as Per @RonnieOverby's comments, it looks like developments are afoot to allow Linux containers to run natively on Windows. Looks like it'll be Hyper-V based running in isolation mode but should let you manage the whole lot seamlessly. I'm not entirely sure its Linux running on Windows, seems more like Hyper-V running linux and supplying hand-waving and trickery to make it all seamless. Something to consider as a hosting option though.

You can't run Linux based containers - these rely on the Linux kernel provided by the (Linux) docker host. You would run Windows containers of either the Hyper-V flavour (where the container runs isolated in an 'optimised' VM) or what is effectively docker on Windows. The running container would have to be one built for Windows, there are some on the docker hub - the nano server base image one for instance.

Windows has incorporated its version of the OS Gubbins (namespacing and so on) that makes Docker on Linux work - so you get the similar (the same?) experiance but the underlying implementation is different. The Hyper-V flavour has its own slant to this but is a variation on the same theme.

.NET Core could be put together for either flavour - there is already a linux based docker image for this (in several spins) and if there isn't an official Windows one you'd probably be able to make it or it may emerge at some point.

I don't know about the Win32 stuff - I suppose it would depend on what is available in the base images provided by MS, these appear to be largely 2016 Server-Core / Nano-Server based so if your app can can be made to run on something like that then you are likely in luck. There is a stock .net 4.6 one and a 3.5 on the hub along side a SQL express image and IIS one - so there are native moving parts in there.

The Windows ones won't run on Linux.

I don't know how licensing works for any of it.

All the details are here

  • I was mostly concerned about Windows native apps when I said Win32 (and obviously server apps not gui ones) . So I suppose if you can run it on 2016 then chances are you can containerize it... – user432024 Dec 13 '16 at 14:22
  • Thats how i've been approaching it - If it can be made to run on a regular distro (or in this case Server Core 2016) then it can run in a container. – tobyd Dec 13 '16 at 14:42
  • This article says that Windows server will have support for hosting windows and linux containers: redmondmag.com/articles/2017/04/20/… – Ronnie Overby Apr 28 '17 at 13:49
  • @RonnieOverby - Cool, looks good!, i'll update the answer to include this – tobyd Apr 28 '17 at 14:34

Not the answer you're looking for? Browse other questions tagged or ask your own question.