you put the option "--mtu xxx" on dockerd option, you can change docker0/veth MTU on docker.
MTUを変更するには、/etc/sysconfig/docker-network に "-mtu" を記述しておけばオーケー。
In order to change the MTU, you write "--mtu" into the file "/etc/sysconfig/docker-network".
# vim /etc/sysconfig/docker-network DOCKER_NETWORK_OPTIONS="--mtu=1400"
# reboot
# ps -ef |grep docker root 2019 1 0 Sep06 ? 00:00:13 /usr/bin/docker-current daemon --exec-opt native.cgroupdriver=systemd --selinux-enabled --log-driver=journald --mtu=1400
# ip link | grep mtu 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc pfifo_fast state UP mode DEFAULT qlen 1000 3: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc noqueue state UP mode DEFAULT 7: veth845af41@if6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc noqueue master docker0 state UP mode DEFAULT 9: vethab65786@if8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc noqueue master docker0 state UP mode DEFAULT 11: veth7ae7d07@if10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc noqueue master docker0 state UP mode DEFAULT
0 件のコメント:
コメントを投稿