News for hackers. Stuff that matters.
Re:The End of the General Purpose Operating System by cyphar on Saturday November 05, 2016 @08:06PM (#12882627)
I don't really agree (I'm one of the developers of ocid / cri-o). Even with a container-manager-as-init you still need to administer your control plane (updates, configuration, so on). Now, you could go the CoreOS way of creating an "administration 'container'" which bindmounts / to somewhere inside the container -- that works but I would still consider it to not be any different from ssh-ing into the machine as root (it removes the need for sshd and means that you can manage the server through the same tooling you manage containers with, but the purpose is the same -- give you a general purpose OS environment you can use to administer things).

Not to mention that your actual containers will still contain general purpose OS images.

Also, as an aside, cri-o would be a very bad choice for PID 1. It's specifically designed so that you don't need it to be a long-running daemon (which is something that Docker cannot do and is actually a very useful feature that we hope to keep). And you can't have your PID 1 just exit whenever it wants to.

Re:The End of the General Purpose Operating System by justincormack on Sunday November 06, 2016 @05:02AM (#12884365)
Even rancher no longer uses container manager as pid 1; these systems being discussed are minimal not single binary. (Only systemd is putting some "container management" features into pid 1).
Re:The End of the General Purpose Operating System by cyphar on Sunday November 06, 2016 @07:28AM (#12884798)
Hi Justin :D

My point was that even with everything on a system running in a container, you still need a general-purpose OS inside the container to do management. Not that in particular that a single-binary container-manager-as-init was the only case where that's true.

Re:The End of the General Purpose Operating System by icebraining on Sunday November 06, 2016 @06:45AM (#12884667)
Which container management features is systemd putting into pid 1?
Re:The End of the General Purpose Operating System by cyphar on Sunday November 06, 2016 @07:21AM (#12884783)
machinectl and systemd-nspawn. Namely, systemd now manages container processes if you ask it to. My experience with the systemd cgroup handling doesn't fill me with much faith on this topic.
Re:The End of the General Purpose Operating System by icebraining on Sunday November 06, 2016 @08:10AM (#12884912)
systemd does manage containers, but from what I can tell, that functionality is not in PID 1, is it?