<div dir="ltr">inherit_fd is being used -- this example works fine if I restore to the same container, it's only breaking now that I'm attempting to restore into a completely different container.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 24, 2015 at 4:50 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"><span class="">On 04/24/2015 12:11 AM, Ross Boucher wrote:<br>
> Another update: I was intrigued by the exit code (which implies SIGPIPE?), since the docker process<br>
> I was running was indeed piping:<br>
><br>
> /bin/sh -c 'i=0; while true; do echo $i; i=$(expr $i + 1); sleep 3; done'<br>
><br>
> I tried the same process of checkpointing in one container and restoring to another by writing to a file instead:<br>
><br>
> /bin/sh -c 'i=0; while true; do echo $i > /tmp/foo; i=$(expr $i + 1); sleep 3; done'<br>
><br>
> And this worked correctly! So I've narrowed it done some more, and I'll continue to look into it.<br>
<br>
</span>If these are pipes indeed (docker terminals?) then the --inherit-fd option should be used.<br>
Saied (from Google) did some work doing this for docker+criu, he can shed more light, but<br>
he's on vacation right now :)<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Pavel<br>
<br>
</font></span></blockquote></div><br></div>