Hacker News new | ask | show | jobs
by out_of_protocol 3555 days ago
Could you explain - can windows server run linux images and other way around? What about speed?
2 comments

> To build and run a Windows container, a Windows system is required. While the Docker tools, control APIs and image formats are the same on Windows and Linux, a Docker Windows container won’t run on a Linux system and vice-versa.

No, this is for running containers using the Windows kernel.

Although with the Windows Subsystem for Linux (WSL), I wonder how long until Windows Server supports running Linux containers.

I just wonder about the utility of all this. Most people should be trying to target .NET Standard/.NET Core and simply run their apps on Linux, meaning they can use regular Linux distributions with Docker installed. Who is Microsoft expecting to actually use Docker on Windows?

EDIT: I'll answer my own question and say that this is probably targeted toward shops that rely on a Microsoft stack (e.g., full .NET Framework, SQL Server, etc.) Running Docker on Windows and getting fully-configured environments should be a big boon to productivity for these folks.

99% of .net apps don't run on Linux yet.
Bump that up to 99.99% and you'd be right.

There are a lot of big .Net heavy-duty apps that are wedded to Windows.

There are a lot of legacy apps, and third party components that use bits of .Net that aren't in core (or mono), and unlikely to ever be there.
Using Docker you can already run Linux containers on Windows, using native virtualization in Hyper-V. You are correct however this announcement is specifically about windows containers.
> While the Docker tools, control APIs and image formats are the same on Windows and Linux, a Docker Windows container won’t run on a Linux system and vice-versa.