News for hackers. Stuff that matters.
Re:Docker without Docker by bandrami on Sunday April 26, 2015 @01:03PM (#9442399)
What's old is new. You're describing containers I think.
Re:Docker without Docker by miah_ on Sunday April 26, 2015 @02:36PM (#9442782)
See: User Mode Linux, available since somewhere around 2002 or 2003.

http://user-mode-linux.sourceforge.net/ https://en.wikipedia.org/wiki/User-mode_Linux

Re:Docker without Docker by icebraining on Sunday April 26, 2015 @03:30PM (#9442967)
Not really the same, since that runs a full kernel for each "container". OpenVZ is a better example (and is, in fact, the precursor of LXC).
Re:Docker without Docker by rwmj on Sunday April 26, 2015 @01:30PM (#9442498)
Or chroots, jails, libvirt-sandbox, etc etc.
Re:Docker without Docker by XorNot on Sunday April 26, 2015 @05:52PM (#9443439)
chroot's aren't namespaced, which is a big important difference. Being able to kill the entire container by killing it's init process (and keep it's processes out of the host namespace) is a huge deal.
Re:Docker without Docker by otterley on Sunday April 26, 2015 @06:28PM (#9443548)
Most of these implementations actually kill all processes in the namespace, not just init. First, there may not be an init (the root process could be the service, which is actually a best practice with respect to containers); and second, the signal may not be propagated to its children, especially if a non-trappable signal (e.g. SIGKILL) is sent.
Re:Docker without Docker by asdfaoeu on Sunday April 26, 2015 @06:57PM (#9443637)
A sigkill is sent to everything in the namespace if the init/root process dies anyway. So effectively it is auto propergated.
Re:Docker without Docker by bandrami on Sunday April 26, 2015 @10:44PM (#9444166)
chroot's aren't namespaced

Sure they are. If you chroot apache to /var/www, then /var/www is now / in the chroot'ed namespace.

Re:Docker without Docker by regularfry on Monday April 27, 2015 @03:13AM (#9444774)
Yeah, and if "everything is a file" was actually true, then the filesystem would be the only namespace you needed to care about.

It isn't.