[lxc-devel] entering a container

Daniel Lezcano daniel.lezcano at free.fr
Mon Mar 22 11:52:52 UTC 2010


Hi all,

I added the patchset:

http://lxc.sourceforge.net/patches/2.6.33/2.6.33.1/2.6.33.1-lxc1/patches.tar.gz

This first drop contains the patchset to enter a container. There is one 
bug when you kill the container while there is a command attached to the 
container.
I noticed another bug with macvlan and this kernel (not related to lxc 
but it needs to be investigated).

The userspace code was commited. I have more enhancement for the command 
in my tree, but I will wait a bit before committing them.

The new command is "lxc-attach". The syntax is:

 lxc-attach -n <name> [command]

If 'command' is omitted, a shell is launched in the container.

Thanks

  -- Daniel




More information about the lxc-devel mailing list