mirror of https://github.com/docker/docs.git
Correct example of daemon.json log-opts config (#3998)
* Update docs so that log-opts takes map (`{}`) instead of array (`[]`)
This commit is contained in:
parent
4ab7d191a8
commit
c9f130a3c7
|
@ -42,10 +42,10 @@ example sets two configurable options on the `json-file` logging driver:
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"log-driver": "json-file",
|
"log-driver": "json-file",
|
||||||
"log-opts": [
|
"log-opts": {
|
||||||
"labels=production_status",
|
"labels": "production_status",
|
||||||
"env=os,customer"
|
"env": "os,customer"
|
||||||
]
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue