Re: [lxc-devel] lxc-start-ephemeral: passing a command

2015-09-21 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > On Fri, Sep 18, 2015 at 06:08:30PM +0200, Christian Brauner wrote: > > When using lxc-start-ephemeral with a command that is supposed to be run in > > the > > container: > > > > lxc-start-ephemeral -o aa /bin/sh > > > > What is

Re: [lxc-devel] lxc-start-ephemeral: passing a command

2015-09-18 Thread Christian Brauner
On Fri, Sep 18, 2015 at 06:08:30PM +0200, Christian Brauner wrote: > When using lxc-start-ephemeral with a command that is supposed to be run in > the > container: > > lxc-start-ephemeral -o aa /bin/sh > > What is the expected behaviour: > > 1) Start the container with its norma

[lxc-devel] lxc-start-ephemeral: passing a command

2015-09-18 Thread Christian Brauner
When using lxc-start-ephemeral with a command that is supposed to be run in the container: lxc-start-ephemeral -o aa /bin/sh What is the expected behaviour: 1) Start the container with its normal init process and then run the command in the container? 2) Start