aboutsummaryrefslogtreecommitdiff
path: root/docs/source/markdown/options/log-driver.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/markdown/options/log-driver.md')
-rw-r--r--docs/source/markdown/options/log-driver.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/source/markdown/options/log-driver.md b/docs/source/markdown/options/log-driver.md
new file mode 100644
index 000000000..195e1f284
--- /dev/null
+++ b/docs/source/markdown/options/log-driver.md
@@ -0,0 +1,12 @@
+#### **--log-driver**=*driver*
+
+Logging driver for the container. Currently available options are **k8s-file**, **journald**, **none** and **passthrough**, with **json-file** aliased to **k8s-file** for scripting compatibility. (Default **journald**).
+
+The podman info command below will display the default log-driver for the system.
+```
+$ podman info --format '{{ .Host.LogDriver }}'
+journald
+```
+The **passthrough** driver passes down the standard streams (stdin, stdout, stderr) to the
+container. It is not allowed with the remote Podman client, including Mac and Windows (excluding WSL2) machines, and on a tty, since it is
+vulnerable to attacks via TIOCSTI.