Merge pull request #3242 from adel-mamin/adel-mamin/install-md-update-for-manjaro

Updated install.md for Manjaro Linux
This commit is contained in:
OpenShift Merge Robot 2019-07-03 16:39:18 +02:00 committed by GitHub
commit 0e8b66cc68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
## Installing packaged versions of Podman
#### [Arch Linux](https://www.archlinux.org)
#### [Arch Linux](https://www.archlinux.org) & [Manjaro Linux](https://manjaro.org)
```bash
sudo pacman -S podman
@ -138,6 +138,32 @@ sudo apt-get install \
uidmap
```
On Manjaro (and maybe other Linux distributions):
Make sure that the Linux kernel supports user namespaces:
```
> zgrep CONFIG_USER_NS /proc/config.gz
CONFIG_USER_NS=y
```
If not, please update the kernel.
For Manjaro Linux the instructions can be found here:
https://wiki.manjaro.org/index.php/Manjaro_Kernels
After that enable user namespaces:
```
sudo sysctl kernel.unprivileged_userns_clone=1
```
To enable the user namespaces permanenty:
```
echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/userns.conf
```
### Building missing dependencies
If any dependencies cannot be installed or are not sufficiently current, they have to be built from source.