mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
Update README.md with tweak needed on arch/manjaro
This commit is contained in:
parent
f05ee53ed1
commit
f3903179d8
1 changed files with 9 additions and 0 deletions
|
@ -167,6 +167,15 @@ the result as `ynh-dev-base` which can then be used to create your actual dev
|
||||||
LXC. (This base can then be used to recreate a fresh Yunohost LXC if you need to
|
LXC. (This base can then be used to recreate a fresh Yunohost LXC if you need to
|
||||||
destroy your work LXC)
|
destroy your work LXC)
|
||||||
|
|
||||||
|
On Archlinux-based distributions (Arch, Manjaro, ...) it was found that it's needed
|
||||||
|
that LXC/LXD will throw some error about "newuidmap failed to write mapping / Failed
|
||||||
|
to set up id mapping" ... It can be [fixed with the following](https://discuss.linuxcontainers.org/t/solved-arch-linux-containers-only-run-when-security-privileged-true/4006/4) :
|
||||||
|
|
||||||
|
```
|
||||||
|
$ echo "root:1000000:65536" > /etc/subuid
|
||||||
|
$ echo "root:1000000:65536" > /etc/subgid
|
||||||
|
```
|
||||||
|
|
||||||
Then start your actual dev LXC using :
|
Then start your actual dev LXC using :
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Add table
Reference in a new issue