[lxc-users] how to set raw.idmap?==?utf-8?q? (bot uid and gid) on container creation?

Tomasz Chmielewski mangoo at wpkg.org
Sat Jun 24 03:54:07 UTC 2017


This one works:

$ lxc launch images:ubuntu/trusty/amd64 testct1 -c 'raw.idmap=uid 1000 33'


This one doesn't:

$ lxc launch images:ubuntu/trusty/amd64 testct2 -c 'raw.idmap=uid 1000 33\ngid 1002 33'
Creating testct2
error: invalid raw.idmap line uid 1000 33\ngid 1000 33


What's the correct syntax to set it?

Tomasz Chmielewski
https://lxadm.com


More information about the lxc-users mailing list