[lxc-users] bind-mounting kernel directories

Andre Nathan andre at digirati.com.br
Wed Apr 1 16:53:40 UTC 2015


I've been running containers in production where pretty much everything
is bind-mounted from the host, including /lib and /usr, with no problems
at all.

Cheers,
Andre

On 04/01/2015 01:07 PM, Chris Burroughs wrote:
> Userland tools can be confused if the running kernel does not match
> anything in /lib/modules, and 'per-container' modules are nonsensical
> notion anyway.  Is there any reason not to ready only bind-mount
> /lib/modules & /usr/src/kernels from the host into the container?  I've
> seen a few references in blogs but this does not appear to be the
> default behavior of the templates.
> 
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150401/429a68ab/attachment.sig>


More information about the lxc-users mailing list