printf "uid $(id -u) 1000\ngid $(id -g) 1000" | lxc config set docker1 raw.idmap -
lxc config device add docker1 export disk source=/export/docker1 path=/export
/var/log/lxd/mail1/lxc.conf
lxc.idmap = u 0 100000 1000
lxc.idmap = g 0 100000 1000
lxc.idmap = u 1000 1000 1
lxc.idmap = g 1000 1000 1
lxc.idmap = u 1001 101001 64535
lxc.idmap = g 1001 101001 64535