在哪里配置lxd容器?

我安装了LXD并创建了一些容器,在阅读各种配置时(特别是关于如何以root身份运行非特权容器 ),我看到各个页面中引用的配置文件是

  • multiple( /etc/lxc/default.conf /var/lib/lxc//default ,…)
  • 并且大部分都不存在于mu Ubuntu 15.10上。

例如,看起来lxc命令是实际的方法

 # lxc profile show test1 name: test1 config: {} description: "" devices: eth0: name: eth0 nictype: bridged parent: br2 type: nic 

我不明白这种信息怎么样

附加到[上面提到的配置文件之一]

 lxc.id_map = u 0 100000 65536 lxc.id_map = g 0 100000 65536 

适合lxc命令(如果有的话):

  • 我应该通过lxc profile edit test1编辑配置 – 在这种情况下(以上面的例子) lxc.id_map = u 0 100000 65536进去?
  • 或使用像lxc config set test1 raw.lxc 'lxc.id_map = u 0 100000 65536' ? (经过测试,执行后不会出现在配置文件中)
  • 或者是其他东西?