You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/containers.conf.5.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -294,6 +294,14 @@ the user system_u, and the role system_r.
294
294
295
295
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. The journald driver is used by default if the systemd journal is readable and writable. Otherwise, the k8s-file driver is used.
296
296
297
+
**log_path**=""
298
+
299
+
Default path for container logs to be stored in. When empty, logs will be stored
300
+
in the container's default storage and removed when the container is removed.
301
+
A subdirectory named with the container ID will be created under the specified
302
+
path, and the log file will have the default name `ctr.log` within that directory.
303
+
This option can be overridden by the `--log-opt` flag.
304
+
297
305
**log_size_max**=-1
298
306
299
307
Maximum size allowed for the container's log file. Negative numbers indicate
0 commit comments