Skip to content

Commit d381070

Browse files
committed
Container: T7473: update document for the log-driver
1 parent 86a282e commit d381070

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/configuration/container/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -285,15 +285,15 @@ Container Registry
285285
Log Configuration
286286
====================
287287

288-
.. cfgcmd:: set container log-driver [k8s-file | journald]
288+
.. cfgcmd:: set container name <name> log-driver [k8s-file | journald | none]
289289

290290
Set the default log driver for containers.
291291

292-
- **k8s-file**: Logs to a plain text new line deliminated json file
293-
- **journald**: Logs to the systems journal
292+
- **k8s-file**: Log to a plain text new line deliminated json file
293+
- **journald**: Log to the system journal
294+
- **none**: Disable logging for the container
294295

295-
Current default is k8s-file. Using journald will result in the logs
296-
not showing up in the container log operation command but the global log command.
296+
Current default is k8s-file.
297297

298298

299299
******************

0 commit comments

Comments
 (0)