<div dir="ltr">what&#39;s the name of container pid? I couldn&#39;t find the pid for the container...</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 12, 2014 at 3:34 PM, Pavel Emelyanov <span dir="ltr">&lt;<a href="mailto:xemul@parallels.com" target="_blank">xemul@parallels.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 05/12/2014 10:37 PM, Bing X wrote:<br>
&gt; I am running criu on a ubuntu14.04 machine, in which I installed docker through apt-get install.<br>
&gt;<br>
&gt; Now I want to use criu dump to lively migrate it to another machine.<br>
&gt;<br>
&gt; the wikipedia page said :<br>
&gt;<br>
&gt; criu dump --tree &lt;pid&gt; --images-dir &lt;path-to-existing-directory&gt; --leave-stopped<br>
&gt;<br>
</div>&gt; I think the pid should be the id of <a href="http://docker.io" target="_blank">docker.io</a> &lt;<a href="http://docker.io" target="_blank">http://docker.io</a>&gt;, but what is the path to the container I am running?<br>

<br>
The --images-dir&#39;s argument is not the path to container directory, it&#39;s the<br>
path to a directory CRIU will put images to.<br>
<br>
By the way, if you&#39;re planning to play with live migration you might be interested<br>
in the p.haul project <a href="http://criu.org/P.Haul" target="_blank">http://criu.org/P.Haul</a>. It&#39;s still under construction, but<br>
shows the way live migration is done.<br>
<br>
Thanks,<br>
Pavel<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Thanks</div><div>Bing</div>
</div>