[lxc-users] [SOLVED] problems starting unprivileged container
Serge Hallyn
serge.hallyn at ubuntu.com
Sun Mar 6 08:36:44 UTC 2016
Quoting Mike Wright (nobody at nospam.hostisimo.com):
> On 03/05/2016 05:21 PM, Mike Wright wrote:
> >Hi all,
>
> Several pointers for the next person.
>
> An error message pointed out that the following...
>
> lxc.include = /etc/lxc/default.conf
> lxc.id_map = u 0 100000 65536
> lxc.id_map = g 0 100000 65536
>
> ...must be added to .config/lxc/default.conf
>
> (the lxc.include can be replaced by an actual network definition.)
>
> Apparently ~/.config/lxc/lxc.conf isn't necessary???
lxc.conf is the 'system' configuration file, see lxc.system.conf(5).
You can put cgroup.use there for instance. default.conf is the
default config to use for newly created containers. That is
lxc.container.conf(5).
More information about the lxc-users
mailing list