From 08bd05cf5c40affe72b4709e646e795fd3ff623c Mon Sep 17 00:00:00 2001
From: Adel Mamin <adel.mamin@exafore.com>
Date: Fri, 31 May 2019 09:30:00 +0300
Subject: [PATCH] Updated install.md for Manjaro Linux

Signed-off-by: Adel Mamin <adel.mamin@exafore.com>
---
 install.md | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/install.md b/install.md
index 7839c3e7d5..27610273fb 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.