On Sun, 2007-11-04 at 11:38 +0100, Ingo Molnar wrote:
There is definitely a great deal of desire to have containers look as
much as possible like a normally functioning system. That includes
having an init process. Everything today depends on that init process
having a pretty specific pid. That's definitely one of the 0.1% of
things that isn't really shaped by the kernel, but it's a pretty
important one 0.1%. (Linux Vserver does this pid virtualization, but
_only_ for init, btw.)
We also need to consider the needs of a checkpoint/restart system. Most
of my interest in containers comes because of their isolation
properties. That isolation is what lets us pick a container up and move
it more easily across systems.
But, once we've moved the container, all of that "single, global kernel"
stuff goes out the window because it wasn't just one kernel making
decisions. Plus, those pids stop becoming just cookies that were issued
by one kernel and interpreted by one kernel.
-- Dave
-