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

Hostname host.docker.internal does not resolve in Linux #34

Open
DanishSiraj opened this issue Jan 5, 2021 · 1 comment
Open

Hostname host.docker.internal does not resolve in Linux #34

DanishSiraj opened this issue Jan 5, 2021 · 1 comment

Comments

@DanishSiraj
Copy link

The docker-compose up command fails on linux based systems as the hostname host.docker.internal is not resolved in Linux systems, throws could not translate host name "host.docker.internal" to address: Name or service not known error.

Workaround:

use docker's internal gateway address 172.17.0.1 instead of host.docker.internal while using the default docker network.

tried on Ubuntu 20.04.1 LTS

@brianpooe
Copy link

This did not work for me on pop os 20.04.1 LTS. Timesout

This looking for a solution.

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