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

Matlink matlink at matlink.fr
Sat Jun 24 06:13:20 UTC 2017


Try
$ lxc launch images:ubuntu/trusty/amd64 testct2 -c "$(echo -e 'raw.idmap=uid 1000 33\ngid 1002 33')"
-- 
Matlink

Le 24 juin 2017 05:54:07 GMT+02:00, Tomasz Chmielewski <mangoo at wpkg.org> a écrit :
>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
>_______________________________________________
>lxc-users mailing list
>lxc-users at lists.linuxcontainers.org
>http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170624/11849f37/attachment.html>


More information about the lxc-users mailing list