Re: [lxc-devel] [PATCH v3] Add lxc-copy executable

2015-11-09 Thread Christian Brauner
On Mon, Nov 09, 2015 at 07:55:31PM +, Serge Hallyn wrote: > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > This is a complete reimplementation of lxc-clone and lxc-start-ephemeral. > > lxc-copy merges the functionalities of lxc-clone + lxc-start-ephemeral. > > > > (1) Cloning

Re: [lxc-devel] [PATCH v3] Add lxc-copy executable

2015-11-09 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > This is a complete reimplementation of lxc-clone and lxc-start-ephemeral. > lxc-copy merges the functionalities of lxc-clone + lxc-start-ephemeral. > > (1) Cloning containers: > > (a) as copy: > > lxc-copy -n aa -N

[lxc-devel] [PATCH v3] Add lxc-copy executable

2015-11-06 Thread Christian Brauner
This is a complete reimplementation of lxc-clone and lxc-start-ephemeral. lxc-copy merges the functionalities of lxc-clone + lxc-start-ephemeral. (1) Cloning containers: (a) as copy: lxc-copy -n aa -N bb (b) as snapshot: lxc-copy -n aa -N bb -s

[lxc-devel] [PATCH v3] Add lxc-copy executable

2015-11-06 Thread Christian Brauner
Changes v3 (only changes in the commit message): (1) Make it explicit that the flag -e / --ephemeral starts ephemeral containers. (2) Fix missing -e flag in examples (c) and (d). (3) Fix example (d). The flag to create a non-ephemeral container is -D and not -K. (4) Add some more exampled to