I need a workaround. Trying to get unprivileged containers going on RH7. I’ve already tried all suggestions I can find, but it looks like they work a few kernel revs after mine. Here’s the best I could find: (best link which is actually from this board) I’m stuck at specific version for a big-corporation amount of time. I’ve got the kernel flags in, still can’t unshare! I need to get around this without patching the kernel. Any suggestions?
There are kernel sysctls to set quotas on the number of the various namspaces, maybe your system is somehow configured to only allow a single mount namespace?
Also, are you running those commands as root? If run as a user, you won’t be able to unshare a mount namespace without unsharing a user namespace first.
Yea that’s what I’m guessing, but that stinks for my project. At corporate velocities this is an unknown delay. I’m thinking of getting some POC going in VMs just to get it done.