mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
T7382: adds container log driver option (#1625)
This commit is contained in:
parent
51a81fdbfd
commit
67341f4d68
@ -282,6 +282,20 @@ Container Registry
|
|||||||
set container registry 192.168.1.1:8080 insecure
|
set container registry 192.168.1.1:8080 insecure
|
||||||
|
|
||||||
|
|
||||||
|
Log Configuration
|
||||||
|
====================
|
||||||
|
|
||||||
|
.. cfgcmd:: set container log-driver [k8s-file | journald]
|
||||||
|
|
||||||
|
Set the default log driver for containers.
|
||||||
|
|
||||||
|
- **k8s-file**: Logs to a plain text new line deliminated json file
|
||||||
|
- **journald**: Logs to the systems journal
|
||||||
|
|
||||||
|
Current default is k8s-file. Using journald will result in the logs
|
||||||
|
not showing up in the container log operation command but the global log command.
|
||||||
|
|
||||||
|
|
||||||
******************
|
******************
|
||||||
Operation Commands
|
Operation Commands
|
||||||
******************
|
******************
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user