[Lxc-users] Executing a command inside a running container?

Serge E. Hallyn serue at us.ibm.com
Tue Feb 9 19:38:02 UTC 2010


Quoting Dominik Schulz (lkml at ds.gauner.org):
> Am Dienstag 09 Februar 2010 18:14:15 schrieb Michael Holzt:
> > > I have a slightly different requirement: I need a way to move the
> > > *current* process inside an existing namespace (and its associated
> > > cgroups).
> > As far as i know, the kernel does not support adding processes to
> > a namespace (to a cgroup works).
> I'm confused. The cgroups documentation in the kernel tree tells me that 
> exactly this is possible, but perhaps I'm misinterpreting the information.

cgroups and namespaces are very different things.

> Anyway, you're right. I can't move an process into a namespace, it's only the 
> documentation making me think it should be possible.

Moving an existing process into an existing, populated namespace
will likely never be possible.

-serge




More information about the lxc-users mailing list