From a22db0902b5785970bf87abae5a8bf08d003298d Mon Sep 17 00:00:00 2001 From: Taio Jia Date: Tue, 13 Jun 2017 08:02:40 +0800 Subject: [PATCH] Fix unmarshal issue (#3545) If set to `"mtu": "1500"` will got an error: ``` unable to configure the Docker daemon with file /etc/docker/daemon.json: json: cannot unmarshal string into Go value of type int ``` That code can not unmarshal string into Go value of type int, I changed the type from string to int. --- engine/userguide/networking/default_network/custom-docker0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/userguide/networking/default_network/custom-docker0.md b/engine/userguide/networking/default_network/custom-docker0.md index b1dfb88083..3c28cbb16f 100644 --- a/engine/userguide/networking/default_network/custom-docker0.md +++ b/engine/userguide/networking/default_network/custom-docker0.md @@ -36,7 +36,7 @@ following settings to configure the default bridge network: "bip": "192.168.1.5/24", "fixed-cidr": "10.20.0.0/16", "fixed-cidr-v6": "2001:db8::/64", - "mtu": "1500", + "mtu": 1500, "default-gateway": "10.20.1.1", "default-gateway-v6": "2001:db8:abcd::89", "dns": ["10.20.1.2","10.20.1.3"]