[lxc-users] View/mount host's existing directory in a running container...

Andrey Repin anrdaemon at yandex.ru
Wed Oct 12 10:57:46 UTC 2016


Greetings, Srihari Raghavan!

> All


> 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.


> 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.,


> The link here
> (https://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg02620.html)

Why not a more recent thread?
https://lists.linuxcontainers.org/pipermail/lxc-users/2016-October/012401.html

> 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.

Short answer is "no" and the thread explains, why.


-- 
With best regards,
Andrey Repin
Wednesday, October 12, 2016 13:56:04

Sorry for my terrible english...



More information about the lxc-users mailing list