News for hackers. Stuff that matters.
Re:Cloud Computing Without Containers by binarycrusader on Saturday November 10, 2018 @01:19AM (#18420200)
This isn’t true. Solaris 11 can have thousands of zones (containers) on one machine. Solaris zones are a very lightweight technology compared to many others on the market. Linux may not, but Solaris can. Yes those containers run Solaris not Linux, but I just wanted to point out that this ability is not unique.
Re:Cloud Computing Without Containers by cyphar on Saturday November 10, 2018 @01:28AM (#18420222)
It can also be done on Linux. Docker might not be able to do it, but that's because of its architecture and the language it's written in. There's no kernel limitation like that.
Re:Cloud Computing Without Containers by molszanski on Saturday November 10, 2018 @07:26AM (#18421063)
I think Joyent has pushed the limits of what is possible in that area with their tech. From the dev/ops point of view I run docker container / images and they "translate" docker api calls into smartos/opensolaris/illumos zones. NB I don't know much about those OSs/projects.

Docker has a nice and evolving API and OS zones provide an amazing core technology.

Re:Cloud Computing Without Containers by cyphar on Saturday November 10, 2018 @08:50AM (#18421312)
Right, but that's because they don't actually run Docker. They have a much better designed manager process that creates LX-branded zones.

My point was that "Linux containers" (so tools like LXC, or runc, or others) are more than capable of being used in this way. Docker has a variety of architectural and other problems that result in it not being as friendly to this kind of use case.

So when you run "docker containers" on Joyent they just untar the image and run it in an LX-branded zone. There is no Go or other problems and they sure as hell don't run Docker as root in their control plane.

Re:Cloud Computing Without Containers by molszanski on Saturday November 10, 2018 @01:48PM (#18422796)
Yeah yeah, sorry for not being clear. I understand that they don't use docker and just make their api to quack like a docker.
Re:Cloud Computing Without Containers by shandor on Saturday November 10, 2018 @01:41AM (#18420240)
What are some container technologies that could be used for this right now?
Re:Cloud Computing Without Containers by cyphar on Saturday November 10, 2018 @05:22AM (#18420727)
Namespaces and cgroups (using overlayfs to get page cache sharing for the main process mappings in each container). This is a bit of a coy response, but if you have a usecase where other container solutions have a high start-up cost -- write your own. You can write a basic container runtime in tens of lines of shell script.

For existing container glue -- you could probably do this with runc (though unfortunately we are also written in Go) and the architecture is such that runc has no long-running process (only your container continues running after we've set it up). I believe LXC can also produce similar tenancy (and they're written in C which avoids quite a few of the Go problems).

Re:Cloud Computing Without Containers by neilwilson on Saturday November 10, 2018 @02:30AM (#18420356)
chroot, cgroup, and the systemd run facilities (systemd-nspawn for example).
Re:Cloud Computing Without Containers by cyphar on Saturday November 10, 2018 @05:22AM (#18420729)
pivot_root, not chroot. chroot is vulnerable to many trivial escapes.
Re:Cloud Computing Without Containers by binarycrusader on Saturday November 10, 2018 @01:37AM (#18420232)
Probably, but for Solaris it’s native out-of-the-box technology.
Re:Cloud Computing Without Containers by weberc2 on Saturday November 10, 2018 @09:17AM (#18421399)
What about the language limits the number of containers?