<div dir="ltr">You&#39;re right about /fs1 /fs2 example above, it can get pretty convoluted.<div><br></div><div>Regarding Docker container IDs, they are generated when new containers (along with their new filesystems) are created.  For dump/restore, however, we need to keep the same container ID and preserve the state of its filesystem.  This requires Docker changes.  My comment was about the difficulty of specifying long container root pathnames as command line arguments to CRIU.  You&#39;d have to first find the ID through docker ps and then provide it in full (64 characters) in addition to the leading /var/lib/docker/vfs/root/ string.  So recording the container ID during dump, as it&#39;s currently, done is advantageous.</div>
<div><br></div><div>--Saied</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 5, 2014 at 10:05 AM, Filipe Brandenburger <span dir="ltr">&lt;<a href="mailto:filbranden@google.com" target="_blank">filbranden@google.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 Thu, Jun 5, 2014 at 9:57 AM, Pavel Emelyanov &lt;<a href="mailto:xemul@parallels.com">xemul@parallels.com</a>&gt; wrote:<br>

&gt;&gt; The --ext-mount parameter could also take the name of a file with a<br>
&gt;&gt; set of directory mappings, which might be easier to maintain than two<br>
&gt;&gt; tokens with a magic separator between them...<br>
&gt;<br>
&gt; Not sure I understand this, can you elaborate?<br>
<br>
</div>Something like --ext-mount /path/to/mappingfile and then have<br>
mappingfile use a format that makes it possible to list a number of<br>
mappings (no need for repeated options) and with no restrictions on<br>
the characters found in the path names (i.e. can handle paths with &quot;=&quot;<br>
or &quot;:&quot; in them.)<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
CRIU mailing list<br>
<a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/criu" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
</div></div></blockquote></div><br></div>