I'm loathe to post this asking for help because there are already several threads about uid/gid mapping for an unprivileged LXC container (believe me, I've read and re-read them all!), and there's even @DougD's python script to automate the process.. so I feel really dumb... but I've been trying for months and I can't seem to figure out the mapping for my use case with just a single user (root):
Host: root
Debian 10 CT: root
This doesn't work, but it's as close as I've gotten:
If anyone could put me out of my misery I would appreciate it. Thank you so much in advance
Host: root
Debian 10 CT: root
This doesn't work, but it's as close as I've gotten:
Code:
# /etc/pve/lxc/100.conf
lxc.idmap = u 0 100000 1
lxc.idmap = g 0 100000 1
lxc.idmap = u 0 0 1
lxc.idmap = g 0 0 1
# /etc/subuid
root:100000:65536
root:0:1
# /etc/subgid
root:100000:65536
root:0:1
If anyone could put me out of my misery I would appreciate it. Thank you so much in advance