summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-02-21 09:48:07 -0500
committerMatthew Heon <matthew.heon@pm.me>2019-02-26 09:38:02 -0500
commit5fcbe5baabfdbc250d5ca1122db133d2fcb7b79d (patch)
treee4da961239c6ca8c3bda9ad3db4a4ab1db447da6
parentd41d8d090e330fe2f0a3c75d24c409d9c345f841 (diff)
downloadpodman-5fcbe5baabfdbc250d5ca1122db133d2fcb7b79d.tar.gz
podman-5fcbe5baabfdbc250d5ca1122db133d2fcb7b79d.tar.bz2
podman-5fcbe5baabfdbc250d5ca1122db133d2fcb7b79d.zip
Add volume path to default libpod.conf (and manpage)
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
-rw-r--r--docs/libpod.conf.5.md6
-rw-r--r--libpod.conf6
2 files changed, 11 insertions, 1 deletions
diff --git a/docs/libpod.conf.5.md b/docs/libpod.conf.5.md
index 0836c45fa..9a19e1224 100644
--- a/docs/libpod.conf.5.md
+++ b/docs/libpod.conf.5.md
@@ -13,7 +13,7 @@ libpod to manage containers.
Default transport method for pulling and pushing images
**runtime**=""
- Default OCI runtime to use if nothing is specified
+ Default OCI runtime to use if nothing is specified in **runtimes**
**runtimes**
For each OCI runtime, specify a list of paths to look for. The first one found is used.
@@ -87,6 +87,10 @@ libpod to manage containers.
The default number available is 2048.
If this is changed, a lock renumbering must be performed, using the `podman system renumber` command.
+**volume_path**=""
+ Directory where named volumes will be created in using the default volume driver.
+ By default this will be configured relative to where containers/storage stores containers.
+
## FILES
`/usr/share/containers/libpod.conf`, default libpod configuration path
diff --git a/libpod.conf b/libpod.conf
index 8d6158ed5..211ba106d 100644
--- a/libpod.conf
+++ b/libpod.conf
@@ -93,6 +93,12 @@ pause_command = "/pause"
# 'podman system renumber' command).
num_locks = 2048
+# Directory for libpod named volumes.
+# By default, this will be configured relative to where containers/storage
+# stores containers.
+# Uncomment to change location from this default.
+#volume_path = "/var/lib/containers/storage/volumes"
+
# Default OCI runtime
runtime = "runc"