mirror of https://github.com/docker/docs.git
Update json-file.md (#6085)
This commit is contained in:
parent
2e25dd40b0
commit
66f9839296
|
@ -18,9 +18,9 @@ only one container.
|
|||
To use the `json-file` driver as the default logging driver, set the `log-driver`
|
||||
and `log-opt` keys to appropriate values in the `daemon.json` file, which is
|
||||
located in `/etc/docker/` on Linux hosts or
|
||||
`C:\ProgramData\docker\config\daemon.json` on Windows Server. For more about
|
||||
+configuring Docker using `daemon.json`, see
|
||||
+[daemon.json](/engine/reference/commandline/dockerd.md#daemon-configuration-file).
|
||||
`C:\ProgramData\docker\config\daemon.json` on Windows Server. For more information about
|
||||
configuring Docker using `daemon.json`, see
|
||||
[daemon.json](/engine/reference/commandline/dockerd.md#daemon-configuration-file).
|
||||
|
||||
The following example sets the log driver to `json-file` and sets the `max-size`
|
||||
option.
|
||||
|
|
Loading…
Reference in New Issue