<div dir="ltr"><div><div>Hi All,<br><br></div>I am testing container live migration
with this <a href="https://github.com/boucher/docker/tree/v1.10_2-16-16-experimental">github repos</a> for docker-1.10-dev. I found the container not
restored exactly where it's checkpointed. For example:<br><br></div>The container I run <br>
docker run -d busybox /bin/sh -c 'echo > /foo; max=1000000; i=0;
while [ $i -lt $max ] ; do date >> /foo; date +%s >> /foo;
echo "i=$i" >> /foo; i=$(expr $i + 1 ); sleep 0.0001; done'<br><br>After migrated using p.haul, I got the /foo in target node:<br><div style="margin-left:40px">.....<br>Sun Feb 19 03:23:13 UTC 2017<br>1487474593<br></div><div style="margin-left:40px">i=4247<br></div><div style="margin-left:40px">Sun Feb 19 03:23:13 UTC 2017<br>1487474593<br></div><div style="margin-left:40px">i=4248 <span style="color:rgb(255,0,0)">-----> before migration</span><br></div><div style="margin-left:40px">i=7545 <span style="color:rgb(255,0,0)">-----> after migartion ( it is supposed to be i=4249 )</span><br></div><div style="margin-left:40px">Sun Feb 19 03:23:20 UTC 2017<br>1487474600<br></div><div style="margin-left:40px">i=7546<br></div><div style="margin-left:40px">Sun Feb 19 03:23:20 UTC 2017<br>1487474600<br></div><div style="margin-left:40px">i=7547<br></div><div style="margin-left:40px">......<br clear="all"></div><div>The
printed numbers jump from 'i=4248' to 'i=7545' instead of increasing by one. It seems that it
ignores some computation status of the docker containers. But I am not
sure where it goes wrong. However, when I checkpoint and restore the container
locally, the number increase continuously with no such jumping.<br><br>Does anyone know where goes wrong and how should it be fixed? Thank you in advance!<br><br></div><div>Best,<br></div>Lele</div>