[CRIU] How to pre-dump lxc or docker?

Tycho Andersen tycho.andersen at canonical.com
Wed Sep 24 09:20:29 PDT 2014


On Wed, Sep 24, 2014 at 08:06:24PM +0800, 陈晓 wrote:
> Becasue I want to dump lxc by copy on write and less the freeze time. The command lxc-checkpoint does not support --pre-images-dir,so I can not dump lxc by pre-dump.So I do not know how to pre-dump lxc.

You might be able to just take the command line that LXC uses and
s/dump/pre-dump, I've not tried it but it might work :).

I think this is something we would like to add (patches welcome :),
but for now the main focus is on making the current implementation of
lxc-checkpoint solid.

Tycho

> thanks,
> carl
> 在 2014-09-24 19:43:27,"Pavel Emelyanov" <xemul at parallels.com> 写道:
> On 09/24/2014 03:29 PM, 陈晓 wrote:
> > I hava dumped the lxc successfully with lxc tools, but how can I pre-dump lxc,
> > the command lxc-checkpoint do not support pre-dump.
> 
> Presumably you can pre-dump one manually, then dump and restore using
> LXC tools.
> 
> Why do you need pre-dump?
> 
> Thanks,
> Pavel
> 


More information about the CRIU mailing list