now that Windows Server 2016 supports WSL (Windows Subsystem for Linux), would it be possible to run Linux containers on Windows without virtualization trough WSL?
Idea is that instead of a Linux container on Linux, the docker engine would start Windows Server Core docker container and passed the “Linux stuff” (shell commands, executions, …) to its WSL layer. The underlying OS for the engine would still be Windows, all the filesystem overlays would still use existing Windows architecture so this would not require overlayfs in WSL etc…
I would like to stress that I do not mean to run docker engine inside WSL, that does not seem possible in forseable future, since WSL does not have a full Linux kernel, just a shim over Windows kernel with less features.
I have now noticed that there is an similar idea already reported in WSL repo on GitHub, only that it does not suggest using a server core image as base, but to use existing WSL isolation: https://github.com/Microsoft/WSL/issues/2114#issuecomment-302232149