I was reading through https://stgraber.org/2017/06/15/custom-user-mappings-in-lxd-containers/ and started wondering what the
lxc config set test raw.idmap
command did. So I browsed over to https://linuxcontainers.org/lxd/docs/master/containers to read the documentation about
raw.idmap. This is what I found:
raw.idmap blob - no id_map
Is there more documentation someplace?
As long as I’ve gotten you to (re)look at https://stgraber.org/2017/06/15/custom-user-mappings-in-lxd-containers/, I thought I would ask another question. Doesn’t the command that reads
$ printf "lxd:$(id -u):1\nroot:$(id -u):1\n" | sudo tee -a /etc/subuid
append to the
subuid file? Won’t that end up with an
/etc/subuid file that looks vaguely like:
wpd:100000:65536 lxd:165536:65536 root:165536:65536 lxd:1000:1 root:1000:1
Will the fact that
root show up multiple times in
/etc/subuid cause any problems or confusion?