<div dir="ltr">Then am I wrong on the root dir of my container? Or, if I'm right, how can I pivot_root it to $odir?<div><br></div><div>thanks,</div><div>Bing</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Jun 4, 2014 at 4:32 PM, 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 10:27 PM, Bing X wrote:<br>
> OK, I find the error occurs at the line pivot_root<br>
><br>
> I modified this line to to move my container root to "./$odir"<br>
><br>
> my command is:<br>
><br>
> pivot_root "/var/lib/docker/containers/a4aec40cc802b258990c538852387b14ec7f7404ca397c66f2ee6ff9862f4a16/root/" "./$odir"<br>
><br>
> the error is: pivot_root: Invalid argument<br>
><br>
> any suggestion what's happening here?<br>
<br>
</div>The pivot_root() only works if the target directory is a mount point.<br>
<br>
> thanks,<br>
> Bing<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Thanks</div><div>Bing</div>
</div>