[Lxc-users] LXC Checkpointing/Migration

Serge Hallyn serge.hallyn at ubuntu.com
Thu Jul 11 15:31:14 UTC 2013


Quoting Nipun Arora (nipun2512 at gmail.com):
> Hi,
> 
> Thanks for your kind response, I will look into this...
> 
> However, the functionality, that I am looking for is similar to a process
> clone,
> i.e. if a Process A is running ->(clone) -> Process A +  Process B(copy of
> process A)
> 
> In a similar manner if LXC container A  is running -> (clone) -> LXC A+ LXC
> B(copy of lxc A).
> 
> I just saw a command called *lxc-clone, *however, could not find any man
> pages for it.
> Could anyone explain how it works, it's current status? And if it or any
> other command can achieve what I described above?

There is a lxc-clone man page.

Lxc-clone simply copies (or snapshots) the rootfs and copies and updates
the container's config.  It will freeze but not checkpoint a running
container.  So it won't restart container B at the same state that
A was.

-serge




More information about the lxc-users mailing list