[lxc-users] Executing a command inside a running container? (ng)

2014-06-09 Thread frodox
Hi all. A few years ago there was a thread about executing a command inside a running container [1]. It sounded like Dominik Schulz Sat, 30 Jan 2010 08:08:10 -0800 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

Re: [lxc-users] Executing a command inside a running container? (ng)

2014-06-09 Thread Fajar A. Nugraha
On Mon, Jun 9, 2014 at 5:53 PM, frodox wrote: > Hi all. > > A few years ago there was a thread about executing a command inside a > running container [1]. > But how about nowadays? > Is it possible now, since we have a new system call setns(2), which looks > like does exactly necessary thing? ht

Re: [lxc-users] Executing a command inside a running container? (ng)

2014-06-09 Thread frodox
yup, lxc-attach starts a process inside a running container. But it can starts only processes/programs that already exists (installed) inside a container. May be I misunderstand Dominik Schulz, but what I mean -- how to execute/move a process from host OS inside a running container (i.e. withou

Re: [lxc-users] Executing a command inside a running container? (ng)

2014-06-09 Thread Fajar A. Nugraha
On Mon, Jun 9, 2014 at 8:47 PM, frodox wrote: > yup, lxc-attach starts a process inside a running container. But it can > starts only processes/programs that already exists (installed) inside a > container. > > May be I misunderstand Dominik Schulz, Reading at the archive, Dominik pretty much w