Michael H. Warfield wrote: > On Sat, 2010-01-30 at 14:20 +0100, Dominik Schulz wrote: > >> Hi, >> >> I'm fairly new to LXC and I am looking for a way to execute a command inside >> a >> running container (a full blow one with its own rootfs and full isolation). >> lxc-execute doesn't seem to do the trick and lxc-console requires credential >> to login. I'm looking for a way to execute command w/o having to login via >> ssh >> or the lxc-console, so I can execute command directly inside the containers >> to >> shut them down properly. >> > > This is being worked on and looked at now through the use of some sort > of daemon in the running container but is not currently possible. More > over, cgroups in the kernel does not currently support joining an active > cgroup, and may never support it, so it would have to be done through > the mediation of some sort of daemon in the running container and > communicating with the host. There's been discussion on the -devel list > over the optimal way to do it and there are some patches running around > but AFAICT nothing has really been committed or committed to at this > time. >
Yes, this is on the way, but the container console has to be solved first to address the console output in a global manner and then the daemon will follow. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users