<div dir="ltr">All<div><br></div><div>LXC newbie here...running into a situation where i cannot run Java programs inside the container due to the fact that some dependent soft links (and related directories) are not visible from inside the container.</div><div><br></div><div>I understand that a mount entry in the LXC startup file would solve that long-term but want to see whether i can quickly/temporarily map (specifically, /etc/java-8-xxx ) into the container namespace to test some things, look at other dependencies etc.,</div><div><br></div><div>The link here (<a href="https://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg02620.html">https://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg02620.html</a>) talks about adding a new directory to make it visible inside a running container, but want to see if i can make an existing directory made visible inside the running container, without stopping the container.</div><div><br></div><div>Thanks in advance</div><div>Sri</div><div><br></div><div><br></div><div>>>></div><div>







<p class="gmail-p1"><span class="gmail-s1">lxc-1$ ls -la /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/</span></p>
<p class="gmail-p1"><span class="gmail-s1">total 70640</span></p>
<p class="gmail-p1"><span class="gmail-s1">drwxr-xr-x 8 root root     4096 Jul  1 19:41 .</span></p>
<p class="gmail-p1"><span class="gmail-s1">drwxr-xr-x 5 root root       86 Jul  1 19:41 ..</span></p>
<p class="gmail-p1"><span class="gmail-s1">lrwxrwxrwx 1 root root       44 Apr 22 13:29 accessibility.properties -> /etc/java-8-openjdk/accessibility.properties</span></p>
<p class="gmail-p1"><span class="gmail-s1">...</span></p>
<p class="gmail-p1"><span class="gmail-s1">lrwxrwxrwx 1 root root       40 Apr 22 13:29 calendars.properties -> /etc/java-8-openjdk/calendars.properties</span></p><p class="gmail-p1"><span class="gmail-s1">...</span></p>
<p class="gmail-p1">>>></p><p class="gmail-p1"><span class="gmail-s1">lxc-1$ ls -la /etc/java-8-openjdk/</span></p><p class="gmail-p1">








</p><p class="gmail-p1"><span class="gmail-s1">ls: cannot access /etc/java-8-openjdk/: No such file or directory</span></p></div></div>