Re: [Lxc-users] Executing a command inside a running container?

2011-05-22 Thread Ulli Horlacher
On Sat 2010-01-30 (14:20), Dominik Schulz wrote: > 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

Re: [Lxc-users] Executing a command inside a running container?

2011-04-17 Thread Ulli Horlacher
On Sun 2010-01-31 (13:38), Tony Risinger wrote: > if your using the standard init program, and you are only trying to > control stutdown/reboot, i use something like this in my container > inittab: > > p6::ctrlaltdel:/sbin/init 6 > p0::powerfail:/sbin/init 0 > > ctrlaltdel responds to a SIGINT,

Re: [Lxc-users] Executing a command inside a running container?

2010-02-09 Thread Serge E. Hallyn
Quoting Dominik Schulz (l...@ds.gauner.org): > Am Dienstag 09 Februar 2010 18:14:15 schrieb Michael Holzt: > > > I have a slightly different requirement: I need a way to move the > > > *current* process inside an existing namespace (and its associated > > > cgroups). > > As far as i know, the kerne

Re: [Lxc-users] Executing a command inside a running container?

2010-02-09 Thread Dominik Schulz
Am Dienstag 09 Februar 2010 18:14:15 schrieb Michael Holzt: > > I have a slightly different requirement: I need a way to move the > > *current* process inside an existing namespace (and its associated > > cgroups). > As far as i know, the kernel does not support adding processes to > a namespace (t

Re: [Lxc-users] Executing a command inside a running container?

2010-02-09 Thread Michael Holzt
> I have a slightly different requirement: I need a way to move the > *current* process inside an existing namespace (and its associated > cgroups). As far as i know, the kernel does not support adding processes to a namespace (to a cgroup works). Regards, Michael -- It's an insane world, but i

Re: [Lxc-users] Executing a command inside a running container?

2010-02-09 Thread Marco d'Itri
se...@us.ibm.com wrote: >Just to be clear, it's the namespaces, not the cgroups, which don't >allow this. We've floated 'sys_hijack' a few times as a way to create >a child which actually inherits its namespaces from a different specified >task, which would give you what you need, but it's a toug

Re: [Lxc-users] Executing a command inside a running container?

2010-02-03 Thread Michael H. Warfield
Hey hey... On Sun, 2010-01-31 at 13:38 -0600, Tony Risinger wrote: > On Sat, Jan 30, 2010 at 12:11 PM, 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

Re: [Lxc-users] Executing a command inside a running container?

2010-01-31 Thread Daniel Lezcano
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

Re: [Lxc-users] Executing a command inside a running container?

2010-01-31 Thread Michael H. Warfield
On Sun, 2010-01-31 at 13:38 -0600, Tony Risinger wrote: > On Sat, Jan 30, 2010 at 12:11 PM, 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 > >> runni

Re: [Lxc-users] Executing a command inside a running container?

2010-01-31 Thread Serge E. Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > 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

Re: [Lxc-users] Executing a command inside a running container?

2010-01-31 Thread Tony Risinger
On Sat, Jan 30, 2010 at 12:11 PM, 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). >>

Re: [Lxc-users] Executing a command inside a running container?

2010-01-30 Thread Michael H. Warfield
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