Re: [gentoo-user] Can I use containers?

2019-05-19 Thread Peter Humphrey
On Sunday, 19 May 2019 00:49:03 BST Rich Freeman wrote: > In general you can mount stuff in containers without issue. There are > two ways to go about it. One is to mount something on the host and > bind-mount it into the container, typically at launch time. The other > is to give the

Re: [gentoo-user] Can I use containers?

2019-05-18 Thread Grant Taylor
On 5/18/19 7:04 PM, Wols Lists wrote: Not that I do it (it would be a bit of a learning experience :-) but this is where using ldap for user management would score ... Centralized ID administration is nice. I've dabbled with the following: · Manual UID & GID management · Copying

Re: [gentoo-user] Can I use containers?

2019-05-18 Thread Grant Taylor
On 5/18/19 5:49 PM, Rich Freeman wrote: I'd be interested if there are other scripts people have put out there, but I agree that most of the container solutions on Linux are overly-complex. Here's what I use for some networking, which probably qualifies as extremely light weight

Re: [gentoo-user] Can I use containers?

2019-05-18 Thread Wols Lists
On 19/05/19 00:49, Rich Freeman wrote: > I believe the reason the wiki says to be careful with mounts has more > to do with UID/GID mapping. As you are using nfs this is already an > issue you're probably dealing with. You're probably aware that > running nfs with multiple hosts with

Re: [gentoo-user] Can I use containers?

2019-05-18 Thread Rich Freeman
On Sat, May 18, 2019 at 12:44 PM Grant Taylor wrote: > > On 5/18/19 9:26 AM, Peter Humphrey wrote: > > Hello list, > > Hi, > > > Can anyone answer this? > > 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

Re: [gentoo-user] Can I use containers?

2019-05-18 Thread Grant Taylor
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

[gentoo-user] Can I use containers?

2019-05-18 Thread Peter Humphrey
Hello list, I use this box as a compile host for two other boxes on the LAN. From each of those I NFS-export $PORTDIR to a chroot jail on this box, run portage etc. in the jail as needed and then install the binaries on the smaller boxes. Recently there've been several mentions of containers