Disabling namespace remapping for a container creates sudo permission error
I’ve enabled default user namespace remapping in Docker. However, I now need to add a privileged container, and therefore need to disable the userns mapping using the --userns=host
flag for that new container. Unfortunately, this changes the whole filesystem ownership of my new container to the user I specified in the --userns-remap
daemon config.