I changed the mtu value in /etc/docker/daemon.json file. Then sysemctl daemon-reload and systemctl restart docker.service.
This new value was reflected properly in the default bridge network. The command docker network inspect bridge showed the new value.
But I was expecting the output of ip link command to list docker0 interface with the MTU that I set. It didn’t. It showed only the default MTU (1500).
Then I tried doing this in another way by providing –mtu option in the ExecStart section of docker.service file. Restarting the service also had the same effect. The docker network inspect bridge command showed the new value whereas ip link command on host machine showed only the default MTU (1500).
Is this correct? Or am I doing something wrong over here.