Any docker users out there? (MTU change)

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

IamSpartacus

Well-Known Member
Mar 14, 2016
2,516
650
113
I'm trying to change the MTU size of my docker containers to 9000 to use jumbo frames. From what I've read I need to add the following line to the /etc/defaut/docker file:

Code:
DOCKER_OPTS="--mtu=9000"
However, after doing that and restarting both the docker daemon service and the server entirely, it's not taking. Are there any docker users on here with experience with this? I'm sure I'm missing something small.
 

Evan

Well-Known Member
Jan 6, 2016
3,346
598
113
does the host OS use jumbo frames ok initially before you start and docker instances ?
Don't know a reason or solution, just narrow does if it's a host issue or strictly a docker issue.
 

IamSpartacus

Well-Known Member
Mar 14, 2016
2,516
650
113
does the host OS use jumbo frames ok initially before you start and docker instances ?
Don't know a reason or solution, just narrow does if it's a host issue or strictly a docker issue.
Yes, the host NIC is configured with jumbo frames and testing has shown it's working well.