diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-07-03 16:39:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-03 16:39:18 +0200 |
commit | 0e8b66cc682fd39c67341d8f67c77c4cb7389511 (patch) | |
tree | 60359361d9f270f1f045e8a8dc896511a62d9d26 | |
parent | 4712fe009a7c8bc41d997749c0fd2c102ac66e0c (diff) | |
parent | ac72229afde90d0c4683fc9da6fdfef49d391794 (diff) | |
download | podman-0e8b66cc682fd39c67341d8f67c77c4cb7389511.tar.gz podman-0e8b66cc682fd39c67341d8f67c77c4cb7389511.tar.bz2 podman-0e8b66cc682fd39c67341d8f67c77c4cb7389511.zip |
Merge pull request #3242 from adel-mamin/adel-mamin/install-md-update-for-manjaro
Updated install.md for Manjaro Linux
-rw-r--r-- | install.md | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/install.md b/install.md index 7839c3e7d..368cdd386 100644 --- a/install.md +++ b/install.md @@ -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. |