[lxc-users] Dynamically bind-mounting read-only into container
tobias.olausson at pelagicore.com
Mon Jul 4 10:41:10 UTC 2016
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.
I posted on StackOverflow before thinking about asking on this mailing list
. 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.
PELAGICORE | Experience Change
Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden
IRC: wto @ FreeNode
Registered Office Gothenburg, Sweden
Registration No. 556780-4199
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lxc-users