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

update docker-compose-consul.yml to for extra_hosts #56

Closed
stevehu opened this issue Jan 21, 2020 · 1 comment
Closed

update docker-compose-consul.yml to for extra_hosts #56

stevehu opened this issue Jan 21, 2020 · 1 comment

Comments

@stevehu
Copy link
Contributor

stevehu commented Jan 21, 2020

The new version of the docker DNS resolver doesn't consider the docker host /etc/hosts anymore, we need to pass the host to IP mapping in the docker-compose file. The extra_hosts will be saved into the docker container OS /etc/hosts for DNS lookup.

@stevehu
Copy link
Contributor Author

stevehu commented Jan 21, 2020

docker/for-linux#488

stevehu added a commit that referenced this issue Feb 28, 2020
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

1 participant