diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-06-13 14:21:13 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-06-13 14:21:13 +0200 |
commit | 13e1afdb02592ab4b0e4e7fb936c76f5c7dda20a (patch) | |
tree | dd21a1e14c8895d01cbf8ce8ac193dc33e2f7917 /libpod.conf | |
parent | 6e4ce54d33df0c43392fd247d42106802ca556df (diff) | |
download | podman-13e1afdb02592ab4b0e4e7fb936c76f5c7dda20a.tar.gz podman-13e1afdb02592ab4b0e4e7fb936c76f5c7dda20a.tar.bz2 podman-13e1afdb02592ab4b0e4e7fb936c76f5c7dda20a.zip |
oci: allow to specify what runtimes support JSON
add a new configuration `runtime_supports_json` to list what OCI
runtimes support the --log-format=json option. If the runtime is not
listed here, libpod will redirect stdout/stderr from the runtime
process.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'libpod.conf')
-rw-r--r-- | libpod.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpod.conf b/libpod.conf index ce6b95cda..45e955c36 100644 --- a/libpod.conf +++ b/libpod.conf @@ -106,6 +106,10 @@ num_locks = 2048 # Default OCI runtime runtime = "runc" +# List of the OCI runtimes that support --format=json. When json is supported +# libpod will use it for reporting nicer errors. +runtime_supports_json = ["runc"] + # Paths to look for a valid OCI runtime (runc, runv, etc) [runtimes] runc = [ |