Diagnosis
docker network inspect mynet | jq '.[].Options'
# {} ← no MTU set
ip link show docker0 | grep mtu
# 1500
If the underlay is a VPN or overlay with a lower MTU, packets above that size will silently fail or fragment in unexpected ways.
Fix
docker network create \
--opt com.docker.network.driver.mtu=1450 \
--opt com.docker.network.bridge.name=br-mynet \
mynet
For an existing network, recreate the bridge:
docker network rm mynet
docker network create --opt com.docker.network.driver.mtu=1450 mynet
# Containers on the old network need to be reattached.