As I understand, running one application with the command lxc-execute
will create a container instance. E.g., by running lxc-execute -n foo
/bin/bash, a container named foo will be created, and I can find a foo
directory under the mounted cgroup directory, like /dev/cgroup/foo.
While retype
On 09/16/2010 09:36 AM, Jue Hong wrote:
As I understand, running one application with the command lxc-execute
will create a container instance. E.g., by running lxc-execute -n foo
/bin/bash, a container named foo will be created, and I can find a foo
directory under the mounted cgroup
On 09/16/2010 10:56 AM, Jue Hong wrote:
Sure Daniel, what you say actually works. But I still want to know,
whether I can launch another app into a running container.
Doing as you say:
lxc-execute -n foo /bin/bash -- this bash runs inside container 'foo'
lxc-execute -n bar /bin/bash
Great news! I'll have a try.
Thank you Daniel!
On Thu, Sep 16, 2010 at 6:05 PM, Daniel Lezcano daniel.lezc...@free.fr wrote:
On 09/16/2010 10:56 AM, Jue Hong wrote:
Sure Daniel, what you say actually works. But I still want to know,
whether I can launch another app into a running container.
On 9/16/2010 3:36 AM, Jue Hong wrote:
As I understand, running one application with the command lxc-execute
will create a container instance. E.g., by running lxc-execute -n foo
/bin/bash, a container named foo will be created, and I can find a foo
directory under the mounted cgroup directory,
BKW, you're right. Now we're going to use the method as you say.
But, being able to start apps outside is really convenient in some cases :)
On Fri, Sep 17, 2010 at 12:47 AM, Brian K. White br...@aljex.com wrote:
On 9/16/2010 3:36 AM, Jue Hong wrote:
As I understand, running one application