summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/libpod.conf.5.md5
-rw-r--r--libpod.conf6
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/libpod.conf.5.md b/docs/libpod.conf.5.md
index 0c11e2013..0836c45fa 100644
--- a/docs/libpod.conf.5.md
+++ b/docs/libpod.conf.5.md
@@ -82,6 +82,11 @@ libpod to manage containers.
**label**="true|false"
Indicates whether the containers should use label separation.
+**num_locks**=""
+ Number of locks available for containers and pods. Each created container or pod consumes one lock.
+ The default number available is 2048.
+ If this is changed, a lock renumbering must be performed, using the `podman system renumber` command.
+
## FILES
`/usr/share/containers/libpod.conf`, default libpod configuration path
diff --git a/libpod.conf b/libpod.conf
index c4e7dc628..8d6158ed5 100644
--- a/libpod.conf
+++ b/libpod.conf
@@ -88,6 +88,12 @@ pause_command = "/pause"
# Default libpod support for container labeling
# label=true
+# Number of locks available for containers and pods.
+# If this is changed, a lock renumber must be performed (e.g. with the
+# 'podman system renumber' command).
+num_locks = 2048
+
+# Default OCI runtime
runtime = "runc"
# Paths to look for a valid OCI runtime (runc, runv, etc)