Check the lxc.mount.entry config. I allow you to bind mount a folder from the 
host to the container. You can also mount this folder in several containers

On Aug 8, 2013, at 11:29 AM, Valerio <v...@eigenlab.org> wrote:

> Hi everybody, I searched a bit in the archive but didn't find it (if
> there was please send me a link).
> I was wandering if it's possible to have a /usr folder shared with some
> lxc-containers (and some folder in /var)(I'm using gentoo linux on every
> container and on the host), why?
> I'm running a server with several containers (every container has a
> person who mantains it), some of them runs similar services (web server
> and ssh server mainly) and i tought it would be easier to have shared
> binary instead of having n copies of the same.
> I was thinking something like /usr with r-x permissions for containers
> and normal permissions on the host machine so when you update on the
> host machine every hosted one is update automatically.
> 
> Did anyone already tried?
> Do you think it's possible?
> Thanks
> Valo
> 
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead. 
> Download for free and get started troubleshooting in minutes. 
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk_______________________________________________
> Lxc-users mailing list
> Lxc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to