Live data from Hacker News

Microsoft announces Hyper-V Containers

azure.microsoft.com

111–120 of 148 posts

Re: Microsoft announces Hyper-V Containers

#111
post #43

REALLY looking forward to this. We've needed container style deployments on Windows forever. This is actually going to make my life better...at least this part, anyway.

Imagine what switching to linux could do for you.

Imagine what having constraints imposed by existing applications and business requirements could do for you.

C'mon, kids. It's not all rails apps from your MacBooks out there.

Re: Microsoft announces Hyper-V Containers

#112
post #31

Earlier quoted context omitted.

Tomcat/Jboss are resource hogs and tend to not do well in sandboxed environments as it takes away a lot of the configurability/tuning that they provide/need for scaling. In addition, people tend to deploy multiple applications per application server to keep resources requirements down: containizeration tends not to lend itself to multi-application stategies (in particular resource heavy applications like those that r…

As someone that has deployed multiple production applications in Tomcat and Jetty, I would never choose Jetty again. The concept is good but it has severe quality issues and does not offer the same stability as Tomcat. At one point we had to fork Jetty to fix critical problems, never again.

Interesting point. I've never had an issue with Jetty, though I've never ran it at huge scale before. I've used it for internal business systems which at peak require 1000 req/s which isn't a whole lot. Do you run an wrapped tomcat to create fat jars or Tomcat as a standalone application server?

Re: Microsoft announces Hyper-V Containers

#113

THE STORY OF THE CONTAINER GOLDRUSH As seen by a verbose, presumptuous 22 year old. OPEN SOURCE MOVEMENT lays foundation for containerization: - linux kernel gains mainstream adoption, becomes standardized across distributions - kernel matures to support containerization (i.e., namespacing critical OS operations) - lxc project takes advantage of kernel support, builds tooling around namespace containerization DOCKER…

You forgot the part where Solaris did containers first in 2005. Others "realised" the value of this later and started improving upon the ideas contained within. Although I'm sure many might argue that this is the natural conclusion of virtualization.

Windows NT had them since 2000: https://www.microsoft.com/msj/0399/jobkernelobj/jobkernelobj... They are called Job Objects in NT, as opposed to Namespaces or Zones in other kernels.

Re: Microsoft announces Hyper-V Containers

#114
post #48

Earlier quoted context omitted.

Microsoft is doing OS-level containers and they are also going to allow running containers in VMs.

Trying to clarify. We are talking about 3 things: 1) OS virtualization for Windows. We announced this last year: http://azure.microsoft.com/blog/2014/10/15/new-windows-serve... 2) Nano Server -- A small Windows Server sku. Perfect for containers, but also useful for other scenarios where you need a small, cloud optimized Windows 3) Hyper-V Containers -- Think if you wanted to optimize a hypervisor with assumption tha…

I guess the question is, are these containers a shared kernel, near zero overhead kinda thing? So I could just run, say, DNS or a file share in a container without paying any overhead. Like what containers/jails or OpenVZ can do on Linux.

Re: Microsoft announces Hyper-V Containers

#115

Earlier quoted context omitted.

How do you apply security updates to the dependencies?

You generate a fresh build with the updated libraries.

Exactly. This also ties in nicely with a test-heavy build process to make sure that said security updates don't cause any regressions.

EDIT: To give you a chance to catch those regressions, at least.

Re: Microsoft announces Hyper-V Containers

#116

Earlier quoted context omitted.

> I don't know much about the container scene. I thought they were literally just virtual machines, with presumably some standardized way of spinning them up programmatically. Maybe someone can correct me. Close but containers share the same kernel. It allows them to do many things more efficiently but it's not a straight up virtual machine.

To build on this, containerized apps have less overhead than a full on virtual machine, since the binaries aren't replicated every time. Like, de-dupe for your VMs, to use a weak analogy. However, because they all share the same kernel, you're limited to a single flavor of containers per host. So a host can provide for all windows apps, or all linux apps, but not a mix. It makes the most sense when you have a need fo…

> So a host can provide for all windows apps, or all linux apps, but not a mix.

While this is true I feel like at some point in the future we're going to be able to mix both. I've seen some rough ideas as to how it could happen but they sounded almost impossible to pull off. Still, if we had a way to mix containers it would be absolutely amazing.

Re: Microsoft announces Hyper-V Containers

#117
post #28

Earlier quoted context omitted.

Microsoft creating their own version means the technology is viable? I think people have been using 'the technology' for years, without any input from Microsoft. It doesn't need to be anointed by Microsoft to be 'viable'.

For the tech enthusiast and the visionaries, you are correct; It is a very viable technology. However the majority of people that deploy software are rather conservative and unless they see a market leader such as Microsoft with a solution they don't deem the technology safe to use. This is well documented in a lot of literature like Crossing the Chasm but can be observed frequently if you work at a larger non-tech o…

I think that when a "market leader" finally adopts technologies that were in use for more than a decade by their competition, it's safe to assume the tech got mainstream...

Re: Microsoft announces Hyper-V Containers

#118

Earlier quoted context omitted.

It was not an extremely functional product. It was largely there to get government contracts where one of the requirements was POSIX conformance, even if they weren't using it.

Imagining they had first-class support for it (a major undertaking, I'd guess, but anyway) how many people would use it? I'd guess it'd be about the same people who use Cygwin now.

Anyone porting applications from Linux would be able to use it to reduce the effort.

Re: Microsoft announces Hyper-V Containers

#119

Will this technology allow running a POSIX kernel alongside like in a VM? Or will these Containers be limited to Windows server software?

Containerisation is a new term for OS-level virtualisation. So in a current meaning of virtualisation, no. It will not let you put a Linux container on a Windows kernel. You could run a VM on Hyper-V VMs, and presumably it will respond to the Docker API, but that just means it's a VM.

I figured as much, I just wasn't sure. I figured it's possible that at some point the container host could load another kernel in case a container needs it. I'm thinking this is where VMware and Citrix should be going in the future.

Re: Microsoft announces Hyper-V Containers

#120
post #52

Earlier quoted context omitted.

Microsoft creating their own version means the technology is viable? I think people have been using 'the technology' for years, without any input from Microsoft. It doesn't need to be anointed by Microsoft to be 'viable'.

BSD had jails for well over a decade before Linux containerization took off; Microsoft entering the space could very well be good for all participants. A rising tide, etc.

To be fair, there were things like usermode linux (UML) that were (roughly) contemporary to jail, circa late 2001 / early 2002.
Post reply on HN