Fixing docker DIB element for setting correct MTU
* docker0 interface in ubuntu had incorrect MTU value * Older docker (< v1.1) automatically infer MTU value based on host. But since 1.1 docker doesn't do this. It sets MTU value 1500 which causes some network problems (especially with SSL/TLS/HTTPS) and apps like HTTPdSite and NginXSite couldn't clone the repo. Closes-Bug: 1608836 Change-Id: I62482bce9ad4f45b7ea2d1d4db77d009c7191f7b
This commit is contained in:
@@ -5,4 +5,4 @@ set -eu
|
|||||||
install-packages curl
|
install-packages curl
|
||||||
curl -sSL https://get.docker.com/ | sh
|
curl -sSL https://get.docker.com/ | sh
|
||||||
|
|
||||||
echo 'DOCKER_OPTS="--bip=172.31.0.1/16 --fixed-cidr=172.31.0.0/16"' >> /etc/default/docker
|
echo 'DOCKER_OPTS="--bip=172.31.0.1/16 --fixed-cidr=172.31.0.0/16 --mtu=1450"' >> /etc/default/docker
|
||||||
@@ -5,4 +5,4 @@ set -eu
|
|||||||
install-packages curl
|
install-packages curl
|
||||||
curl -sSL https://get.docker.com/ | sh
|
curl -sSL https://get.docker.com/ | sh
|
||||||
|
|
||||||
echo 'DOCKER_OPTS="--bip=172.31.0.1/16 --fixed-cidr=172.31.0.0/16"' >> /etc/default/docker
|
echo 'DOCKER_OPTS="--bip=172.31.0.1/16 --fixed-cidr=172.31.0.0/16 --mtu=1450"' >> /etc/default/docker
|
||||||
Reference in New Issue
Block a user