News for hackers. Stuff that matters.
Re:Runq – Runc-based runtime to run regular Docker images in... by watermelon0 on Tuesday July 10, 2018 @06:54PM (#17502909)
I would assume Clear Containers[1] are more lightweight solution, and they also leverage KVM/Qemu for isolation purposes.

[1] https://github.com/clearcontainers/runtime

Re:Runq – Runc-based runtime to run regular Docker images in... by ofrzeta on Wednesday July 11, 2018 @12:56AM (#17504551)
Or Kata containers or Hyper.sh. There's so much going on, it's hard to keep up or even tell the difference. Kata is an initiative by the OpenStack foundationa and somehow a mix of Clear and Hyper as far as I can tell.

https://katacontainers.io/

Re:Runq – Runc-based runtime to run regular Docker images in... by gnepzhao on Wednesday July 11, 2018 @04:27AM (#17505308)
Kata is the merge of ClearContainer and Hyper's runV.

Disclosure: I work at Hyper.sh

Re:Runq – Runc-based runtime to run regular Docker images in... by hardwaresofton on Wednesday July 11, 2018 @12:56AM (#17504550)
Note that clear containers the runtime has been replaced by kata-containers[0], which is a merge with runv[1].

[0]: https://github.com/kata-containers

[1]: https://github.com/hyperhq/runv

Re:Runq – Runc-based runtime to run regular Docker images in... by TheAceOfHearts on Tuesday July 10, 2018 @05:45PM (#17502475)
I'm not very familiarized with this problem space. Could someone explain what why this is useful, and why you'd want to use it? What are the problems that it solves? I looked through the README, but I'm a bit lost.
Re:Runq – Runc-based runtime to run regular Docker images in... by slobotron on Tuesday July 10, 2018 @06:04PM (#17502609)
You can use Dockerfile (easy to start, large ecosystem) to build and launch a VM (presumably more secure).
Re:Runq – Runc-based runtime to run regular Docker images in... by gnepzhao on Wednesday July 11, 2018 @04:30AM (#17505328)
Simply put, it allows you to run multiple-tenants' code (image) over shared infrastructure.

Think about why all public clouds are built with virtualization technology. Multi-tenants require strong isolation, which virtualization promises. Therefore, if we could get strong isolation in container, we can build public cloud with container.

Re:Runq – Runc-based runtime to run regular Docker images in... by zokier on Tuesday July 10, 2018 @05:59PM (#17502574)
You get fair bit more isolation between the container and the host, which could help with security.
Re:Runq – Runc-based runtime to run regular Docker images in... by etaioinshrdlu on Tuesday July 10, 2018 @09:26PM (#17503726)
Ok, I'll say it. I think we need efficient arbitrary depth nesting of containers.

Sure, it is incredibly bloaty.

But so is the way, say, npm works.

Bloaty apps often provide a ton of programmer convenience.

And history tells us that programmer convenience usually wins.

Docker style development already usually means bundling tons of redundant dependencies everywhere.

Let's just take that further, and hold your nose.

Re:Runq – Runc-based runtime to run regular Docker images in... by stingraycharles on Wednesday July 11, 2018 @01:23AM (#17504630)
Isn’t that entirely possible with regular containers, but it’s mostly Docker’s client/server model getting in the way?

I agree with you we need this, though. I’m frequently running CI in Docker, and this makes launching a new container from CI a pain.

Re:Runq – Runc-based runtime to run regular Docker images in... by etaioinshrdlu on Tuesday July 10, 2018 @07:00PM (#17502943)
See also: user-mode Linux. I think it's a good idea but it's not really maintained and never really worked well as far as I know.

Google is also working on a shim that intercepts system calls in userspace to simulate having more priveledges.

But user mode Linux is a real full kernel!

Re:Runq – Runc-based runtime to run regular Docker images in... by philips on Tuesday July 10, 2018 @08:46PM (#17503524)
This is the link you are looking for: https://github.com/google/gvisor
Re:Runq – Runc-based runtime to run regular Docker images in... by omeid2 on Tuesday July 10, 2018 @08:56PM (#17503565)
There is also HyperD: https://github.com/hyperhq/hyperd
Re:Runq – Runc-based runtime to run regular Docker images in... by gnepzhao on Wednesday July 11, 2018 @04:32AM (#17505336)
Hyperd has been merged into Kata (katacontainers.io).
Re:Runq – Runc-based runtime to run regular Docker images in... by regularfry on Wednesday July 11, 2018 @02:51AM (#17504944)
User-mode Linux is a good enough system that people were making money off hosting UML vms before KVM was usable.
Re:Runq – Runc-based runtime to run regular Docker images in... by int0x80 on Wednesday July 11, 2018 @01:52AM (#17504720)
Very nice, but bummer for me is:

  Limtations (not supported):
    - docker exec
    - docker swarm
Specially 'exec' part.