Skip to content

Commit f53902a

Browse files
rootWang Xing
authored andcommitted
Fix some mistakes in dockerd.md
Signed-off-by: Wang Xing <[email protected]>
1 parent 1691fe6 commit f53902a

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

daemon/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ type CommonConfig struct {
8888
Root string `json:"graph,omitempty"`
8989
SocketGroup string `json:"group,omitempty"`
9090
TrustKeyPath string `json:"-"`
91-
CorsHeaders string `json:"api-cors-headers,omitempty"`
91+
CorsHeaders string `json:"api-cors-header,omitempty"`
9292
EnableCors bool `json:"api-enable-cors,omitempty"`
9393

9494
// ClusterStore is the storage backend used for the cluster information. It is used by both

daemon/config_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ type bridgeConfig struct {
4141
EnableIPv6 bool `json:"ipv6,omitempty"`
4242
EnableIPTables bool `json:"iptables,omitempty"`
4343
EnableIPForward bool `json:"ip-forward,omitempty"`
44-
EnableIPMasq bool `json:"ip-mask,omitempty"`
44+
EnableIPMasq bool `json:"ip-masq,omitempty"`
4545
EnableUserlandProxy bool `json:"userland-proxy,omitempty"`
4646
DefaultIP net.IP `json:"ip,omitempty"`
4747
IP string `json:"bip,omitempty"`

docs/reference/commandline/dockerd.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ This is a full example of the allowed configuration options in the file:
925925
"tlscacert": "",
926926
"tlscert": "",
927927
"tlskey": "",
928-
"api-cors-headers": "",
928+
"api-cors-header": "",
929929
"selinux-enabled": false,
930930
"userns-remap": "",
931931
"group": "",
@@ -934,7 +934,7 @@ This is a full example of the allowed configuration options in the file:
934934
"ipv6": false,
935935
"iptables": false,
936936
"ip-forward": false,
937-
"ip-mask": false,
937+
"ip-masq": false,
938938
"userland-proxy": false,
939939
"ip": "0.0.0.0",
940940
"bridge": "",

0 commit comments

Comments
 (0)