I tried something else :
Within /etc/sub{u,g}id :
chuugar:33
chuugar:10000:65536
Within /home/chuugar/.local/share/lxc/nextcloud/config :
lxc.idmap = u 0 100000 33
lxc.idmap = g 0 100000 33
lxc.idmap = u 33 1000 1
lxc.idmap = g 33 1000 1
Now the container can start, and the folder I wish to share belong to chuugar:chuugar (1000:1000) on the host and www-data:www-data (33:33) within the container, as expected.
BUT, as is, lxc loses the ability to map from 34 to 65535 inside the container.
So I edit nextcloud/config like this :
lxc.idmap = u 0 100000 33
lxc.idmap = g 0 100000 33
lxc.idmap = u 33 1000 1
lxc.idmap = g 33 1000 1
lxc.idmap = u 0 100034 65535
lxc.idmap = g 0 100034 65545
But it failed with the following error : "newuidmap: uid range [0-65535) -> [100034-165569) not allowed"
So, how can I map from 0 to 65536 except the 33 value ?
Thanks