Docker Bridge container cannot access the external network
Pingtong cannot be accessed (curl)
-
Check the host network to see if the host network card is consistent with the docker bridge mtu
-
Edit /etc/docker/daemon.json and add the same mtu as the host network card
{ "mtu":1450 }
-
Restart the service
$ systemctl daemon-reload $ systemctl restart docker
Post comment 取消回复