From 08bd05cf5c40affe72b4709e646e795fd3ff623c Mon Sep 17 00:00:00 2001 From: Adel Mamin Date: Fri, 31 May 2019 09:30:00 +0300 Subject: Updated install.md for Manjaro Linux Signed-off-by: Adel Mamin --- install.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/install.md b/install.md index 7839c3e7d..27610273f 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,26 @@ 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 could be found here: +https://wiki.manjaro.org/index.php/Manjaro_Kernels + +After that enable user namespaces: + +``` +sudo sysctl kernel.unprivileged_userns_clone=1 +``` + ### Building missing dependencies If any dependencies cannot be installed or are not sufficiently current, they have to be built from source. -- cgit v1.2.3-54-g00ecf From 229c5d6bb285344827cbe0af0f508031803c31e2 Mon Sep 17 00:00:00 2001 From: Adel Mamin Date: Fri, 31 May 2019 22:22:04 +0300 Subject: Addressed code review comments Signed-off-by: Adel Mamin --- install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.md b/install.md index 27610273f..aca2a6c03 100644 --- a/install.md +++ b/install.md @@ -149,7 +149,7 @@ CONFIG_USER_NS=y ``` If not, please update the kernel. -For Manjaro Linux the instructions could be found here: +For Manjaro Linux the instructions can be found here: https://wiki.manjaro.org/index.php/Manjaro_Kernels After that enable user namespaces: -- cgit v1.2.3-54-g00ecf From ac72229afde90d0c4683fc9da6fdfef49d391794 Mon Sep 17 00:00:00 2001 From: Adel Mamin Date: Sun, 9 Jun 2019 15:34:31 +0300 Subject: Added instruction to enable the user namespaces permanenty in Manjaro Signed-off-by: Adel Mamin --- install.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.md b/install.md index aca2a6c03..368cdd386 100644 --- a/install.md +++ b/install.md @@ -158,6 +158,12 @@ 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. -- cgit v1.2.3-54-g00ecf