Hacker News

23 Comments:
robbyt said 12 days ago:

...and the crowd goes mild!

Does anyone actually use Windows containers? How is it? I'm not the most connected person, but I really want to know who's actually using this?

ticmasta said 12 days ago:

The only legit use-case I've ever seen is "lift-and-shift" out of a self-hosted IIS environment to a container that can be hosted publicly. Now your business has a "SasS Offering"!

We had MS in our office a few weeks ago and even they were steering people away from windows containers unless you really had no other choice...

snagglegaggle said 12 days ago:

I am not sure if it is kosher to say this, but my main use for Windows Server is as a desktop OS for when I need Windows. You can set up py-kms (https://github.com/SystemRage/py-kms) to activate it. The Server OS is extremely clean and devoid of all of the bloatware in normal Windows. I think the telemetry is still enabled and hard to disable, but it is slightly easier to do.

In my case this is probably above board, I inherited some servers with valid Windows Server licenses.

stetrain said 12 days ago:

If you've got a mix of applications that can run on linux (for example .Net Core) and some that can't (.Net Framework) it lets you keep a similar pipeline for managing environments and deployments.

I'm not using it in production yet, but I've been watching it for a couple of years as it becomes more stable.

Still waiting on the next update (Windows 10 19H2) that lets you run windows containers build using older base versions on newer host OSes. Currently if the host and container image aren't the exact same version it will run in Hyper-V instead of as a light weight container.

cpitman said 12 days ago:

I do consulting around Kubernetes, and many large enterprise clients are interested in Windows Containers. The usual culprit are .Net Framework applications that the customer has no interest in porting to .Net Core.

I haven't actually seen a customer use Windows Containers in production yet, but with them becoming more stable I suspect we'll see more of it in the next year.

rtempaccount1 said 12 days ago:

I do some work in the k8s arena. Seen a couple of large corps using Windows containers, either for containerizing legacy applications, or for moving an existing Windows platform into containers to help reduce cloud bills.

carlsborg said 12 days ago:

Test automation. Edge/IE.

snagglegaggle said 12 days ago:

I know there a business use cases usually targeting legacy software. Are there any open source projects that run mainly on Windows? I am wondering how the code bases may differ, etc.

SteveNuts said 12 days ago:

Last time I looked at Windows containers the layers were multi-gigabyte downloads, is this still the case?

mollyporph said 12 days ago:

The windows server nano images are 96mb and the windows server insider nano images are around 63 i think

wmf said 12 days ago:

Yeah, although something called Nano Server is pretty small. https://techcommunity.microsoft.com/t5/Containers/A-smaller-...

techntoke said 12 days ago:

Still significantly larger compared to most Linux container images, and even more so than something like Alpine.

jacques_chester said 11 days ago:

This different is pointlessly fetishized. Once layers are cached on a node they are cached on the node and it makes little functional difference to startup times.

There's also the small matter of: nobody will help you with Alpine bugs or CVEs. You are on your own. For something like Windows, you can pay Microsoft for any level of care you feel makes business sense. Same for Ubuntu or Red Hat.

dillonmckay said 12 days ago:

Is Alpine 8MB containerized?

techntoke said 12 days ago:

Yes and roughly 3MB compressed.

midnitewarrior said 12 days ago:

Yes, agreed, it's amazing how many more feature Windows ships than Linux, and that's only the "nano" version!

techntoke said 12 days ago:

Like what? I find that especially when comparing Nano Server and Linux, that Linux is much easier to manage and has nearly unlimited features that can be used or installed via a lightweight package manager when building your images.

deiwin said 12 days ago:

How does licensing work for this?

leddt said 12 days ago:

Windows Server (Standard and Datacenter editions) licenses include permissions to run unlimited windows containers on top of them. So you would only need to pay for the licenses of your hosts.

https://www.microsoft.com/en-us/licensing/product-licensing/...

rtempaccount1 said 12 days ago:

AFAIK there's a significant caveat to that, which is that you only get unlimited windows containers, if you're using process isolation.

If you're using VM isolation, you need licenses for the containerized applications.

Spivak said 12 days ago:

I wouldn't call that a caveat so much as SOP for Microsoft licensing. A Windows license does not entitle you to run unlimited Windows VMs on top unless you pay for the more expensive edition.

The "hack" of buying a small number of super beefy servers to save on licensing costs was plugged looooong ago.

anaisbetts said 12 days ago:

Amazon (as well as other cloud vendors) generally handle the licensing for you and factor it into the price of the host OS

samsungha said 12 days ago:

Does it support Windows/AD Service accounts? I'm thinking not.