From dda3a742f2e30398c3824fa06a1ff3e899fc2e9d Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 16 Aug 2018 08:58:54 -0400 Subject: Document STORAGE_DRIVER and STORAGE_OPTS environment variable Default settings for storage can be overriden by setting these environment variables. Signed-off-by: Daniel J Walsh Closes: #1282 Approved by: mheon --- docs/podman.1.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/podman.1.md b/docs/podman.1.md index b5331a45d..26a5a0ae0 100644 --- a/docs/podman.1.md +++ b/docs/podman.1.md @@ -58,11 +58,14 @@ Path to the OCI compatible binary used to run containers **--storage-driver, -s**=**value** -Select which storage driver is used to manage storage of images and containers (default is overlay) +Storage driver. The default storage driver for UID 0 is configured in /etc/containers/storage.conf, and is *vfs* for other users. The `STORAGE_DRIVER` environment variable overrides the default. The --storage-driver specified driver overrides all. + +Overriding this option will cause the *storage-opt* settings in /etc/containers/storage.conf to be ignored. The user must +specify additional options via the `--storage-opt` flag. **--storage-opt**=**value** -Used to pass an option to the storage driver +Storage driver option, Default storage driver options are configured in /etc/containers/storage.conf. The `STORAGE_OPTS` environment variable overrides the default. The --storage-opt specified options overrides all. **--syslog** -- cgit v1.2.3-54-g00ecf