add not for non existence daemon.json

This commit is contained in:
Sobhan Attar 2020-07-01 11:30:11 +04:30 committed by GitHub
parent 6775518067
commit 9fd5223c7e
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
{