News for hackers. Stuff that matters.
Re:Hyper – Hypervisor-agnostic Docker engine by jacques_chester on Thursday May 28, 2015 @10:25PM (#9622375)
Is this just a stripped down type-2 hypervisor guest kernel, or is there something else going on?
Re:Hyper – Hypervisor-agnostic Docker engine by gnawux on Thursday May 28, 2015 @10:29PM (#9622386)
Hi,

It does not run a full guest OS on the hypervisor, instead, initrd itself launches a group of docker images, aka Pod on it.

Re:Hyper – Hypervisor-agnostic Docker engine by kj92 on Thursday May 28, 2015 @10:36PM (#9622400)
I like what you've done with Pod. Remember rkt has a similar concept, not sure why Docker doesn't have it.
Re:Hyper – Hypervisor-agnostic Docker engine by jzila on Thursday May 28, 2015 @11:39PM (#9622557)
So you're running all the containers on the initrd kernel?
Re:Hyper – Hypervisor-agnostic Docker engine by otoburb on Thursday May 28, 2015 @11:52PM (#9622574)
I had the same question, and had to dig a little into the Google Pod documentation for this handy explanation: "In terms of Docker constructs, a pod consists of a colocated group of Docker containers with shared volumes."[1]

Based on the above tidbit, each Pod contains a few containers, thus a Pod (and hence all of the containers in the Pod) will indeed be running on the initrd kernel from the HyperVM instance.

The key point is that this applies for each HyperVM (i.e. one HyperVM launched per Pod). It seems the idea is that wherever you'd normally launch a container, you can now instead launch a lighweight VM that behaves like a container (i.e. fast to launch & small footprint) with default virtualization benefits.

Basically, if you replace all instances of the term "HyperVM" with "ContainerVM", it may help to parse their explanations more easily.

[1] https://github.com/GoogleCloudPlatform/kubernetes/blob/maste...

Re:Hyper – Hypervisor-agnostic Docker engine by gnawux on Friday May 29, 2015 @12:41AM (#9622707)
A pod on a kernel/initrd, contains one or more docker images in different mount namespaces. The "containers" in pod share network and ipc namespace each other.