From 9fd5223c7efb5cb6de2d1c5bb21b53140268e03d Mon Sep 17 00:00:00 2001 From: Sobhan Attar Date: Wed, 1 Jul 2020 11:30:11 +0430 Subject: [PATCH] add not for non existence daemon.json --- config/containers/logging/configure.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/containers/logging/configure.md b/config/containers/logging/configure.md index 4154de5de8..848dee1152 100644 --- a/config/containers/logging/configure.md +++ b/config/containers/logging/configure.md @@ -24,9 +24,9 @@ implement and use [logging driver plugins](plugins.md). To configure the Docker daemon to default to a specific logging driver, set the value of `log-driver` to the name of the logging driver in the `daemon.json` file, which is located in `/etc/docker/` on Linux hosts or -`C:\ProgramData\docker\config\` on Windows server hosts. The default logging -driver is `json-file`. The following example explicitly sets the default -logging driver to `syslog`: +`C:\ProgramData\docker\config\` on Windows server hosts. Note that you should create `daemon.json` +file, if the file does not exist. +The default logging driver is `json-file`. The following example explicitly sets the default logging driver to `syslog`: ```json {