Browse code

Fix some mistakes in dockerd.md

Signed-off-by: Wang Xing <hzwangxing@corp.netease.com>

root authored on 2016/05/16 12:18:48
Showing 3 changed files
... ...
@@ -88,7 +88,7 @@ type CommonConfig struct {
88 88
 	Root                 string              `json:"graph,omitempty"`
89 89
 	SocketGroup          string              `json:"group,omitempty"`
90 90
 	TrustKeyPath         string              `json:"-"`
91
-	CorsHeaders          string              `json:"api-cors-headers,omitempty"`
91
+	CorsHeaders          string              `json:"api-cors-header,omitempty"`
92 92
 	EnableCors           bool                `json:"api-enable-cors,omitempty"`
93 93
 
94 94
 	// ClusterStore is the storage backend used for the cluster information. It is used by both
... ...
@@ -41,7 +41,7 @@ type bridgeConfig struct {
41 41
 	EnableIPv6                  bool   `json:"ipv6,omitempty"`
42 42
 	EnableIPTables              bool   `json:"iptables,omitempty"`
43 43
 	EnableIPForward             bool   `json:"ip-forward,omitempty"`
44
-	EnableIPMasq                bool   `json:"ip-mask,omitempty"`
44
+	EnableIPMasq                bool   `json:"ip-masq,omitempty"`
45 45
 	EnableUserlandProxy         bool   `json:"userland-proxy,omitempty"`
46 46
 	DefaultIP                   net.IP `json:"ip,omitempty"`
47 47
 	IP                          string `json:"bip,omitempty"`
... ...
@@ -925,7 +925,7 @@ This is a full example of the allowed configuration options in the file:
925 925
 	"tlscacert": "",
926 926
 	"tlscert": "",
927 927
 	"tlskey": "",
928
-	"api-cors-headers": "",
928
+	"api-cors-header": "",
929 929
 	"selinux-enabled": false,
930 930
 	"userns-remap": "",
931 931
 	"group": "",
... ...
@@ -934,7 +934,7 @@ This is a full example of the allowed configuration options in the file:
934 934
 	"ipv6": false,
935 935
 	"iptables": false,
936 936
 	"ip-forward": false,
937
-	"ip-mask": false,
937
+	"ip-masq": false,
938 938
 	"userland-proxy": false,
939 939
 	"ip": "0.0.0.0",
940 940
 	"bridge": "",