Browse Source

Update docs so that log-opts takes map (`{}`) instead of `[]`

This fix updates docs so that log-opts takes map (`{}`) instead
of `[]`, as is defined in the impmenetation (`map[string]string`)

This fix fixes 22311.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Yong Tang 9 years ago
parent
commit
f9ef1c892d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/commandline/dockerd.md

+ 1 - 1
docs/reference/commandline/dockerd.md

@@ -1027,7 +1027,7 @@ This is a full example of the allowed configuration options on Linux:
 	"labels": [],
 	"live-restore": true,
 	"log-driver": "",
-	"log-opts": [],
+	"log-opts": {},
 	"mtu": 0,
 	"pidfile": "",
 	"graph": "",