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

Maksim Dmitrichenko <[email protected]>
Newsgroups gmane.linux.debian.user.russian
Message-ID <CAMRqRqwP54zX-w3ow_sp_eaMsd8tox-=dFwND_5y2M7eqvQdHw@mail.gmail.com>
чт, 11 февр. 2021 г. в 15:19, Maxim Nikulin <[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 успешно
> работает.
>

Неужели в Debian для этого не приспособили fakeroot?


-- 
With best regards
  Maksim Dmitrichenko
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.