On 03/27/2012 09:59 PM, Sam Wang wrote:
> I've tried using lxc-attach to run a process in a running
> container,but it didn't work.The command I use is as follow:
> lxc-execute -n test /home/lisperl/forever
> lxc-attach -n test /bin/bash
>
> The error is :
> lxc-attach: No such file or directory - failed to open '/proc/2540/ns/pid'
> lxc-attach: failed to enter the namespace
>

You have to run a patched kernel to use lxc-attach. The patches are at:

http://lxc.sourceforge.net/patches/linux/

David
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to