Docker for mac container can ping external ip, but cannot initiate network request

  docker, question

The problem is probably this:

For my own usedockerThedebainInstall on MirrorphpThe bagxdebug, useperl install xdebugInstallation, but the installation wait time out, I will trypingAfter checking xdebug’s official website, I found that ping was connected, but when curl got the home page resource, he reported a timeout. .

Then I wondered. . Then I tried Baidu, too. . . In fact, I have met many times before. . . After a long period of time, it is impossible to send external requests in the container. Does any great god know why?

Ps: network is normal

Landlord, have you solved this problem?
I have also encountered this problem recently.
I am OSX system.