Live data from Hacker News

Kata Containers – The speed of containers, the security of VMs

katacontainers.io

11–20 of 76 posts

Re: Kata Containers – The speed of containers, the security of VMs

#11
post #9

One thing that isn't mentioned on front page at least is the management aspect. Docker became popular because it was pretty easy to use, and to publish and reuse existing containers. Whatever competes with it only stands a chance if it can either reuse the existing container ecosystem, or offer something roughly as good.

It doesn’t have to replace Docker – just becoming a better container engine as backend for Kubernetes will be very useful.

Re: Kata Containers – The speed of containers, the security of VMs

#14
post #13
post #12

It's kind of interesting that it's only in the Linux world that containers cannot be thought of as isolated or secure. Seeing it from a jails and zones perspective, rather sad, actually :)

Does Windows have anything like this?

Yes – HyperV containers (which Kata is actually inspired by) are much more secure than Linux’ namespaces.

Re: Kata Containers – The speed of containers, the security of VMs

#16
post #15
post #5

The British Indian Ocean territory really is becoming a tech hub.

I'm not sure I get the connection. Also: https://en.m.wikipedia.org/wiki/Depopulation_of_Chagossians_...

>I'm not sure I get the connection.

.io is the TLD for the British Indian Ocean Territory, technically speaking.

Re: Kata Containers – The speed of containers, the security of VMs

#17
post #14
post #13

Earlier quoted context omitted.

Does Windows have anything like this?

Yes – HyperV containers (which Kata is actually inspired by) are much more secure than Linux’ namespaces.

> Kata Containers combines technology from Intel® Clear Containers and Hyper runV

but I can't find a mention of Hyper-V anywhere (which doesn't mean there was no inspiration). Maybe you confused Hyper runv and Hyper-V here (the naming certainly doesn't help)?

Re: Kata Containers – The speed of containers, the security of VMs

#18
post #12

It's kind of interesting that it's only in the Linux world that containers cannot be thought of as isolated or secure. Seeing it from a jails and zones perspective, rather sad, actually :)

Funny, I never thought about it that way. Namespaced processes being a linux kernel feature in the first place. That's where the whole container thing CAME from in the first place. It's only because the Windows and OSX kernels _don't_ support namespacing, that we have to run docker et al inside a virtual machine on those environments. It is not the container implementation, but the virtual machine, which makes containers "secure" on those platforms.

So put more finely: containers are not secure, anywhere. Virtual machines are. So you should run your containers inside virtual machines if security is important to you. Environments that can't run containers natively are forced into the more secure configuration.

If you're interested in the ongoing work to make containers more secure, Jessie Frazelle has very clear posts on the subject [1][2]. The Bubblewrap project also has a great summary of various approaches being used to "jail" container processes properly. [3]

[1] https://blog.jessfraz.com/post/containers-zones-jails-vms/ [2] https://blog.jessfraz.com/post/getting-towards-real-sandbox-... [3] https://github.com/projectatomic/bubblewrap

Re: Kata Containers – The speed of containers, the security of VMs

#19
post #12

It's kind of interesting that it's only in the Linux world that containers cannot be thought of as isolated or secure. Seeing it from a jails and zones perspective, rather sad, actually :)

Funny, I never thought about it that way. Namespaced processes being a linux kernel feature in the first place. That's where the whole container thing CAME from in the first place. It's only because the Windows and OSX kernels _don't_ support namespacing, that we have to run docker et al inside a virtual machine on those environments. It is not the container implementation, but the virtual machine, which makes contai…

> containers are not secure, anywhere. Virtual machines are.

Can you (or someone else) ELI5 what makes containers insecure? Not a low level Linux or security expert.

Re: Kata Containers – The speed of containers, the security of VMs

#20
post #17
post #14

Earlier quoted context omitted.

Yes – HyperV containers (which Kata is actually inspired by) are much more secure than Linux’ namespaces.

> Kata Containers combines technology from Intel® Clear Containers and Hyper runV but I can't find a mention of Hyper-V anywhere (which doesn't mean there was no inspiration). Maybe you confused Hyper runv and Hyper-V here (the naming certainly doesn't help)?

runV is a oci compatible drop in replacement for runC that can execute containers on a number of backend virtualisation environments, including Hyper-V and KVM
Post reply on HN