From 57582350c7adeedcc629abd23d6e9f911dc00f5f Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 30 Mar 2023 15:13:41 -0400 Subject: [PATCH] Document transient_store in man page Signed-off-by: Daniel J Walsh --- docs/containers-storage.conf.5.md | 6 ++++++ storage.conf | 2 ++ 2 files changed, 8 insertions(+) diff --git a/docs/containers-storage.conf.5.md b/docs/containers-storage.conf.5.md index 2064648a9d..672e6b9cb5 100644 --- a/docs/containers-storage.conf.5.md +++ b/docs/containers-storage.conf.5.md @@ -64,6 +64,12 @@ Default directory to store all temporary writable content created by container s By default, the storage driver is set via the `driver` option. If it is not defined, then the best driver will be picked according to the current platform. This option allows you to override this internal priority list with a custom one to prefer certain drivers. Setting this option only has an effect if the local storage has not been initialized yet and the driver name is not set. +**transient_store** = "false" | "true" + +Transient store mode makes all container metadata be saved in temporary storage +(i.e. runroot above). This is faster, but doesn't persist across reboots. +Additional garbage collection must also be performed at boot-time, so this option should remain disabled in most configurations. (default: false) + ### STORAGE OPTIONS TABLE The `storage.options` table supports the following options: diff --git a/storage.conf b/storage.conf index 6c419a952f..99cc94a361 100644 --- a/storage.conf +++ b/storage.conf @@ -34,6 +34,8 @@ graphroot = "/var/lib/containers/storage" # Transient store mode makes all container metadata be saved in temporary storage # (i.e. runroot above). This is faster, but doesn't persist across reboots. +# Additional garbage collection must also be performed at boot-time, so this +# option should remain disabled in most configurations. # transient_store = true [storage.options]