Replies: 1 comment
-
|
I also encountered the exact same issue. As a workaround, I was able to resolve this issue by SSHing into the remote server and creating a customized #!/bin/sh
ssh root@<REMOTE_SERVER_IP> docker network create --driver=bridge --opt com.docker.network.driver.mtu=1450 kamalAnd here is the result of [
{
"Name": "kamal",
...
"Options": {
"com.docker.network.driver.mtu": "1450"
},
...
}
] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm relatively new to Docker and networking, and I'm having an issue where requests to some external hosts from within a Docker container fail.
For example, when I run
$ curl -v https://github.com, the request times out with the following error:while requests to other hosts (google.com, apple.com) succeed.
One solution I found suggests lowering the MTU (link 1, link 2).
Running
$ ip a | grep mtureturnsThe MTU value for
docker0andbr-is higher thanens3's. I've found a way to setdocker0's mtu to 1450 by overriding a value either in in/etc/docker/daemon.jsonor/lib/systemd/system/docker.service. However, the Kamal network still uses an MTU of 1500. Is there a way to set the MTU of the kamal bridge network to a lower value? Or could something else cause this issue?Beta Was this translation helpful? Give feedback.
All reactions