<div dir="ltr"><div><div><div>Hi,<br><br></div>I'm working on a software using LXC where we want to be able to, while a container is running, bind mount directories read-only into it. I guess this means I can't use the lxc.mount entry, since that is read when creating/starting the container, not while it is running.<br><br></div>I posted on StackOverflow before thinking about asking on this mailing list [1]. Basically, unless I re-mount _inside_ the container, the mount shows up as read-write inside it, even though it is read-only in the host.<br><br>[1] <a href="http://stackoverflow.com/questions/38121765/can-i-mount-a-file-system-read-only-into-an-lxc-container">http://stackoverflow.com/questions/38121765/can-i-mount-a-file-system-read-only-into-an-lxc-container</a><br><br></div>Cheers,<br><br>---<br><div><div><div><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div>Tobias Olausson<br></div><div>M.Sc C.S.<br></div><div>Software Engineer</div><div><div><br></div><div>PELAGICORE | Experience Change</div><div>Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden<br></div><div>Mobile: +46(0)735-873444<br></div><div><a href="http://www.pelagicore.com/" target="_blank">http://www.pelagicore.com/</a><br></div></div><div>IRC: wto @ FreeNode<br><br>Registered Office Gothenburg, Sweden<br>Registration No. 556780-4199</div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div></div></div></div>