<div dir="ltr">You'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'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'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"><<a href="mailto:filbranden@google.com" target="_blank">filbranden@google.com</a>></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 <<a href="mailto:xemul@parallels.com">xemul@parallels.com</a>> wrote:<br>
>> The --ext-mount parameter could also take the name of a file with a<br>
>> set of directory mappings, which might be easier to maintain than two<br>
>> tokens with a magic separator between them...<br>
><br>
> 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 "="<br>
or ":" 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>