Merge pull request #1528 from thaJeztah/add_logging_driver_example

Update daemon.json example to show that log-opts must be a string
This commit is contained in:
Silvin Lubecki 2018-11-21 14:56:14 +01:00 committed by GitHub
commit 5931fb4276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -1305,8 +1305,13 @@ This is a full example of the allowed configuration options on Linux:
"storage-opts": [],
"labels": [],
"live-restore": true,
"log-driver": "",
"log-opts": {},
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-files":"5",
"labels": "somelabel",
"env": "os,customer"
},
"mtu": 0,
"pidfile": "",
"cluster-store": "",