<div dir="ltr">OK, I find the error occurs at the line pivot_root<div><br></div><div>I modified this line to to move my container root to "./$odir"</div><div><br></div><div>my command is:</div><div><br><div><div>
pivot_root "/var/lib/docker/containers/a4aec40cc802b258990c538852387b14ec7f7404ca397c66f2ee6ff9862f4a16/root/" "./$odir"</div></div><div><br></div><div>the error is: pivot_root: Invalid argument</div><div>
<br></div><div>any suggestion what's happening here?</div><div><br></div><div>thanks,</div><div>Bing</div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 4, 2014 at 11:38 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"><div class="">On 06/04/2014 07:35 PM, Bing X wrote:<br>
> thanks, I'll follow your suggestions. But one thing before that, I want to verify that if I<br>
> correctly modified the scripts (including run.sh, run_ns.sh).<br>
><br>
> My understand is that the sample under /etc/mounts/ext/ is for mouting $current_dir to another<br>
> place, binding it and then dumping.<br>
<br>
</div>I can't find neither /etc/mounts/ext nor $current_dir in run*.sh scripts you sent.<br>
<div class="HOEnZb"><div class="h5"><br>
> For my purpose, I need to change it to my docker container root dir. Is this correct?<br>
><br>
> thanks,<br>
> Bing<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Thanks</div><div>Bing</div>
</div>