Is it possible to insert additional lower layers to an existing overlayfs mount?

The idea is to add new features to a running "chroot" so that they immediately see these changes in their root fs and can use them. These features would interleave throughout the fs, so I don't think mounting within that environment would work. For example, a new overlay might come with executables located in /bin and shared libraries in /lib.

If there's some other way to accomplish that then cool. Like maybe some sort of use of namespaces or whatnot...I don't know.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.