<div dir="ltr">Then am I wrong on the root dir of my container? Or, if I&#39;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">&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 06/04/2014 10:27 PM, Bing X wrote:<br>
&gt; OK, I find the error occurs at the line pivot_root<br>
&gt;<br>
&gt; I modified this line to to move my container root to &quot;./$odir&quot;<br>
&gt;<br>
&gt; my command is:<br>
&gt;<br>
&gt; pivot_root &quot;/var/lib/docker/containers/a4aec40cc802b258990c538852387b14ec7f7404ca397c66f2ee6ff9862f4a16/root/&quot; &quot;./$odir&quot;<br>
&gt;<br>
&gt; the error is: pivot_root: Invalid argument<br>
&gt;<br>
&gt; any suggestion what&#39;s happening here?<br>
<br>
</div>The pivot_root() only works if the target directory is a mount point.<br>
<br>
&gt; thanks,<br>
&gt; Bing<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Thanks</div><div>Bing</div>
</div>