You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While troubleshooting why phpunit initialization was slow, I found there are DNS lookups for host.docker.internal that are not resolving from the workspace container.
Expected Behavior:
host.docker.internal should resolve to the docker host
Context information:
Output of git rev-parse HEAD
477428146e18c9038a4b094b01341f5fb573dd9f
Output of docker version
Docker version 19.03.3, build a872fc2f86
Docker version 20.10.6, build 370c289
System info: Mac, Windows or Linux. Include which disto/version
Ubuntu 20.04.2 LTS
Stacktrace & Additional info:
08:12:30.546970 IP (tos 0x0, ttl 64, id 51572, offset 0, flags [DF], proto UDP (17), length 66)
172.23.0.5.43187 > one.one.one.one.domain: 19394+ A? host.docker.internal. (38)
08:12:30.566670 IP (tos 0x0, ttl 58, id 30890, offset 0, flags [DF], proto UDP (17), length 141)
one.one.one.one.domain > 172.23.0.5.43187: 19394 NXDomain 0/1/0 (113)
We should be getting a local response for host.docker.internal. Laradock is configured to use dockerhost for the docker host in docker-compose.yml. Replacing dockerhost with host.docker.internal in docker-compose.yml resolves this problem. Likewise host.docker.internal falls in-line with Mac and Windows, and recent support for it in docker 20.10.
The text was updated successfully, but these errors were encountered:
Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.
Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.
Description:
While troubleshooting why phpunit initialization was slow, I found there are DNS lookups for host.docker.internal that are not resolving from the workspace container.
Expected Behavior:
host.docker.internal should resolve to the docker host
Context information:
Output of
git rev-parse HEAD
Output of
docker version
Output of
docker-compose version
System info: Mac, Windows or Linux. Include which disto/version
Stacktrace & Additional info:
We should be getting a local response for
host.docker.internal
. Laradock is configured to usedockerhost
for the docker host indocker-compose.yml
. Replacingdockerhost
withhost.docker.internal
indocker-compose.yml
resolves this problem. Likewisehost.docker.internal
falls in-line with Mac and Windows, and recent support for it in docker 20.10.The text was updated successfully, but these errors were encountered: