Merge pull request #11066 from sobhanattar/patch-1

add a note for non existence daemon.json
This commit is contained in:
Usha Mandya 2020-07-01 13:55:21 +01:00 committed by GitHub
commit 2fbf05c10e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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
{