From 5fcbe5baabfdbc250d5ca1122db133d2fcb7b79d Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Thu, 21 Feb 2019 09:48:07 -0500 Subject: Add volume path to default libpod.conf (and manpage) Signed-off-by: Matthew Heon --- docs/libpod.conf.5.md | 6 +++++- libpod.conf | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3-54-g00ecf