[Lxc-users] mount from outside of a container online

Papp Tamas tompos at martos.bme.hu
Mon Jul 18 19:16:38 UTC 2011


On 2011-07-18 15:14, Serge E. Hallyn wrote:
> It should be possible, but you have to set it up in advance.  You can
> create a /lxcshare directory on the host, make sure it is slave
> (mount --make-rslave /lxcshare) and bind-mount that into the container
> at startup.  Then mounting a directory into /lxcshare should expose it
> to the container.
>

helo!

Thank you for you answer, Serge:)

I'm not sure I correctly unserstand this part of manual, but I'm sure, 
this is not exactly I want.
I wanted (and also want to do it in the future) to mount a directory as 
'adhoc', without restarting the container.

Nevermind, thank you,

tamas




More information about the lxc-users mailing list