Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

host.docker.internal doesn't resolve for Xdebug on Linux #246

Open
aksm opened this issue May 18, 2023 · 1 comment
Open

host.docker.internal doesn't resolve for Xdebug on Linux #246

aksm opened this issue May 18, 2023 · 1 comment

Comments

@aksm
Copy link
Contributor

aksm commented May 18, 2023

What?

While trying to debug drush in Linux I discovered that host.docker.internal doesn't resolve. Adding the following to the esmero-php-debug container resolves it:

extra_hosts:
    - "host.docker.internal:host-gateway"

Maybe add it as a commented-out option? But it should at least be documented.

@aksm aksm self-assigned this May 18, 2023
Copy link
Member

Ok, if you document this please make sure you explain why this is needed

@aksm aksm removed their assignment Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants