You can run this to set a container to privileged mode: lxc config set <container-name> security.privileged true
And then restart it: lxc restart <container-name> After that, the users inside the container are no longer mapped to a higher uid: root 21301 0.0 0.0 602368 6120 ? Ss 17:45 0:00 [lxc monitor] /var/lib/lxd/containers bionic-privileged root 21322 3.2 0.0 159416 6096 ? Ss 17:45 0:00 \_ /sbin/init root 21422 0.7 0.0 78304 6320 ? S<s 17:45 0:00 \_ /lib/systemd/systemd-journald systemd+ 21692 0.2 0.0 80012 3924 ? Ss 17:45 0:00 \_ /lib/systemd/systemd-networkd ... But something I forgot to clarify: are you using lxc or lxd containers? I assumed lxd. And the host is running what, xenial? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1418279 Title: Automount NFSv4 doesn't work To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1418279/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
