[Lxc-users] what's the difference in lxc-attach

Ramez Hanna rhanna at informatiq.org
Fri Jul 15 14:50:19 UTC 2011


how can i check if lxc-attach is not working because of the kernel or
because of other bug?

On Thu, Apr 7, 2011 at 10:09 AM, Cedric Le Goater <legoater at free.fr> wrote:

> On 04/07/2011 07:46 AM, Ramez Hanna wrote:
> > from a post that i found earlier in the archive
> > subject "entering a container" by Daniel Lezcano
> >
> > i cannot see the differece between lxc-attach and lxc-execute
> > could someone explain?
>
> lxc-execute creates a container and exec's a command/application
> inside it (see manual).
>
> lxc-attach enters a *running* container and exec's a command inside
> it (manual soon to come). This ability of creating an exogenous
> process inside a container requires a kernel patchset.
>
> C.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20110715/93b75f29/attachment.html>


More information about the lxc-users mailing list