I found this in the Debian Administrator Handbook (Raphaël Hertzog & Roland Mas) about LXC:
“It may also make sense to share part of the filesystem, such as the
/lib subtrees, so as to avoid duplicating the software that may need to be common to several containers. This will usually be achieved with
lxc.mount.entry entries in the containers configuration file. An interesting side-effect is that the processes will then use less physical memory, since the kernel is able to detect that the programs are shared.”
Do you have any experience or opinion on that? What would happen if you upgrade a package (with the package manager) in the host and not in the container?