summaryrefslogtreecommitdiffstats
path: root/system/podman/README
diff options
context:
space:
mode:
Diffstat (limited to 'system/podman/README')
-rw-r--r--system/podman/README6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/podman/README b/system/podman/README
index 5295426059..f7d3cfec14 100644
--- a/system/podman/README
+++ b/system/podman/README
@@ -13,3 +13,9 @@ At a high level, the scope of libpod and podman is the following:
* Resource isolation of containers and pods.
These container runtimes can run as non-root, but require sub-uid/gid mappings
+
+To run podman as a user:
+
+ echo 'user.max_user_namespaces=30111' >> /etc/sysctl.conf
+ echo '<YOUR_USER>:100000:65536' >> /etc/subuid
+ echo '<YOUR_USER>:100000:65536' >> /etc/subgid