Re: непривелигерованный контейнер lxc в бустер

Maxim Nikulin <[email protected]>
Newsgroups gmane.linux.debian.user.russian
Message-ID <[email protected]>
On 11/02/2021 15:08, Andrey Lu wrote:
> у меня ругается если так вызывать:
> $ lxc-create -n cname -t debian -- -r buster
> This template can't be used for unprivileged containers.
> You may want to try the "download" template instead.
> lxc-create: cname: lxccontainer.c: create_run_template: 1617 Failed to 
> create container from template
> lxc-create: cname: tools/lxc_create.c: main: 327 Failed to create 
> container cname

Если правильно помню, то не сработает mkdev, такое namespaces не 
позволяют. Так что готовить образы должен root. Дальше их уже может 
распаковывать обычный пользователь, поэтому --template download успешно 
работает.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.