Hacker News new | ask | show | jobs
by bbrazil 4059 days ago
> The irony is that Docker is based on software that underpins Google’s vast online empire.

Doesn't Rocket also use cgroups?

3 comments

Yes, rkt App Container runtime is based on cgroups and namespaces. Same as runtimes of Docker, lmctfy, systemd-nspawn, lxc or (almost) any other container technology for Linux. The big difference is on specification of images. rkt introduced the App Container specification for its images: https://github.com/appc/spec/blob/master/SPEC.md#image-archi...
They're all built on the same stuff: namespaces, cgroups, and chroots. It's just a matter of what terrible API they layer on top.
Actually, it does not have to, it is a more general spec. Technically Docker doesnt need to either.
I believe there's even at least one production deployment of Docker on a different stack of underlying container technology, the one Joyent runs on top of SmartOS (which uses Solaris/Illumos zones as the container tech).