News for hackers. Stuff that matters.
Re:RancherOS: An OS for Docker Containers by jdub on Tuesday February 24, 2015 @11:06PM (#9105230)
Docker itself as PID 1 is… creative.

Good things they've thought through:

- boots fast, does almost the absolute minimum it needs to get up and running

- supporting user data and at least minimal config via cloud-init

- properly minimal: you have to use a Debian image to set up persistent storage with mkfs.ext4! (edit: when using the ISO version, which is not the primary use case)

- but helpfully familiar: you can install distro flavoured "console" experiences with more than just busybox

- it's almost a better Boot2Docker than Boot2Docker! (a little bit of love for VirtualBox / VMware shared storage wouldn't go astray)

Re:RancherOS: An OS for Docker Containers by riobard on Tuesday February 24, 2015 @11:34PM (#9105307)
I'm not sure… running a 7MB binary with tons of functionality as PID 1 sounds like a really bad idea. Possibly even worse than the usual complaints against systemd (which has at least process isolations for its various features).
Re:RancherOS: An OS for Docker Containers by jdub on Tuesday February 24, 2015 @11:35PM (#9105313)
Who has a 7MB binary with tons of functionality as PID 1? That doesn't describe RancherOS or systemd.

(Edit: Oh, you mean Docker itself as PID 1 on RancherOS. Yes, that's true. Certainly hairier than systemd. I haven't really dug into how much they limit what system-docker can do.)

Re:RancherOS: An OS for Docker Containers by jdub on Tuesday February 24, 2015 @11:46PM (#9105345)
Interesting data point:

- /usr/bin/systemd-docker = 8.4M

- /usr/bin/docker = 14.3M

Re:RancherOS: An OS for Docker Containers by NeutronBoy on Wednesday February 25, 2015 @01:36AM (#9105581)
From a security perspective, not really, the alternative is run Docker as root. Perhaps it is from a system stability perspective though?