<div dir="ltr">As promised, here is a shell script to simplify checkpointing and restoring a Docker container. The usage is pretty simple and obvious. Try docker_cr.sh --help to get started. I suggest adding this file to the scripts subdirectory of CRIU and installing it where criu is installed, but I have not modified the Makefile.<div>
<br></div><div>I'd like to acknowledge Filipe's time for his review and feedback.</div><div><br></div><div>Cheers!</div><div><br></div><div>--Saied</div><div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Sep 1, 2014 at 3:03 AM, Pavel Emelyanov <span dir="ltr"><<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 08/30/2014 04:38 AM, Saied Kazemi wrote:<br>
> Hi Pavel,<br>
><br>
> I've put together the attached Docker HOWTO document for CRIU 1.3. Hope this helps.<br>
<br>
</div>Huge thanks for this, Saied. I've copied it on our wiki -- <a href="http://criu.org/Docker" target="_blank">http://criu.org/Docker</a><br>
<div><br>
> Since the command line for checkpointing and restoring Docker containers is very long<br>
> and also there is a manual step to set up the filesystem before restore, I will soon<br>
> send you a shell script that does the heavy lifting.<br>
<br>
</div>Yup, this would be very helpful, thanks. I thought this script should become the<br>
part of docker checkpoint/restore command, shouldn't it?<br>
<br>
Thanks,<br>
Pavel<br>
<br>
</blockquote></div><br></div></div></div></div></div>