On 5/18/19 9:26 AM, Peter Humphrey wrote:
Hello list,
Hi,
Can anyone answer this?
I can't comment on LXC or containers in general, but I will say that I think that namespaces (which is largely what I think containers are) could do this.
I'd suggest a mount, UTS, and possibly user namespace. The mount namespace will allow you to have a different mount tree inside of the ""container / chroot / et al. The UTS [1] namespace will allow you to have a different hostname inside of the.... The user namespace will allow you to have different user IDs and group IDs inside of the....
I would think that containers could be made to do this. But I'm not a fan of the containerization systems that I've seen. They seem to be too large and try to control too many things and impose too many limitations. Especially when I just want something similar to a chroot / Solaris Zone. I've always been able to get namespaces to do what I want with little problem.
[1] Unix Time Sharing

