In fact, I am not fond of the rather popular trend to brew ported versions of tools from Linux into MacOS to develop applications that will actually be deployed on Linux, so I am glad containerisation mitigates some of this problem and that MacOS makes you do it in a VM running Linux. Linux, being a Unix-like operating system is an internet server operating first, the most dominant one too, and a desktop operating system second. However, Linux distributions for servers and desktops are designed and managed very differently, that's why things like Docker was invented to reduce the issues with these differences.
Windows, on the other hand, is a desktop operating first, office productivity tools server second but they have also attempted to make their operating system dominant for all other servers and devices at the exclusion of everything else. They have not really succeeded at this, and containerisation and the cloud has made it even harder, hence why they have to both try to wedge Docker into Windows as a tick box exercise but also try to make it appear to work natively.
It's mostly the same on windows (you needed hyper-v or virtualbox to run docker) but they are making efforts to run containers natively. Not sure how far they got with that.
In the end if you want the best performance with minimum resource usage you need a Linux OS
The dream is that maybe one day WSL will fully support Linux containers without a vm, but I will be amazed if they can pull that off.
Emulating Linux-level container APIs is also possible in principle.
As I remember you couldn't have windows and linux containers running at the same time so you needed to flip a switch in the docker config to chose one.
I general I'm a linux guy but it would be really cool if they can get to a point in which you can run both windows and linux containers at the same time.
the WSL with Linux containers apparently does work with the latest insider builds...
[0] http://www.solidalm.com/2017/03/06/deep-dive-into-windows-se...
There are a reasonable number of Windows container images on Docker hub, although nothing like the volume of linux ones.