
* 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
8 lines
185 B
Bash
Executable File
8 lines
185 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
install-packages curl
|
|
curl -sSL https://get.docker.com/ | sh
|
|
|
|
echo 'DOCKER_OPTS="--bip=172.31.0.1/16 --fixed-cidr=172.31.0.0/16 --mtu=1450"' >> /etc/default/docker |