mirror of https://github.com/docker/docs.git
add not for non existence daemon.json
This commit is contained in:
parent
6775518067
commit
9fd5223c7e
|
@ -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
|
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`
|
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
|
file, which is located in `/etc/docker/` on Linux hosts or
|
||||||
`C:\ProgramData\docker\config\` on Windows server hosts. The default logging
|
`C:\ProgramData\docker\config\` on Windows server hosts. Note that you should create `daemon.json`
|
||||||
driver is `json-file`. The following example explicitly sets the default
|
file, if the file does not exist.
|
||||||
logging driver to `syslog`:
|
The default logging driver is `json-file`. The following example explicitly sets the default logging driver to `syslog`:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue