Re: [Lxc-users] how to execute shell command in container ?

2011-03-18 Thread Sebastien Pahl
There is a command call lxc-attach which does just what you want. However you need these patches: http://lxc.sourceforge.net/patches/linux/2.6.35/2.6.35-lxc1/ They don't apply on newer kernels:-( Is there a newer version of the patches somewhere? How far along is the process of getting them into

Re: [Lxc-users] how to execute shell command in container ?

2011-03-18 Thread Andrian Nord
On Fri, Mar 18, 2011 at 12:26:32PM +0300, Vladimir Laskov wrote: > # lxc-execute --name vm1 /bin/bash > lxc-execute: failed to create veth1-vethAmmjfi : File exists > lxc-execute: failed to create netdev > lxc-execute: failed to create the network > lxc-execute: failed to spawn 'vm1' > lxc-execute

Re: [Lxc-users] LXC support with Directfb

2011-03-18 Thread Thierry GAYET
Hi, I have modified the lxc-start tool in order to use a coherent IPC both with the container and the native linux that control the lxc container. In this way, i can have some graphic on my display. Is it what you called 'hacking lxc' in your previous email ? If so how can be sure that my conta

Re: [Lxc-users] how to execute shell command in container ?

2011-03-18 Thread Ludovic Guégan
what about lxc-console? http://lxc.sourceforge.net/man/lxc-console.html On Fri, Mar 18, 2011 at 9:52 PM, richard -rw- weinberger < richard.weinber...@gmail.com> wrote: > On Fri, Mar 18, 2011 at 10:26 AM, Vladimir Laskov > wrote: > > > > info > >

Re: [Lxc-users] how to execute shell command in container ?

2011-03-18 Thread richard -rw- weinberger
On Fri, Mar 18, 2011 at 10:26 AM, Vladimir Laskov wrote: > > info > # lxc-version > lxc version: 0.7.3 > # uname -a > Linux mysql2 2.6.32-cgroup-memcap #1 SMP Thu Feb 24 07:41:45 EST 2011 > x86_64 GNU/Linux > # lsb_release -a > No LSB modules are available. > Distributor ID:    Debian > Descriptio

[Lxc-users] how to execute shell command in container ?

2011-03-18 Thread Vladimir Laskov
info # lxc-version lxc version: 0.7.3 # uname -a Linux mysql2 2.6.32-cgroup-memcap #1 SMP Thu Feb 24 07:41:45 EST 2011 x86_64 GNU/Linux # lsb_release -a No LSB modules are available. Distributor ID:Debian Description:Debian GNU/Linux 6.0 (squeeze) Release:6.0 Codename:squeeze `vm