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

cURL error 6: Could not resolve host #27

Closed
liujianjiang opened this issue Apr 12, 2018 · 1 comment
Closed

cURL error 6: Could not resolve host #27

liujianjiang opened this issue Apr 12, 2018 · 1 comment

Comments

@liujianjiang
Copy link

我window 的虚拟机里面装docker 部署好项目使用php的curl会报这个错误怎么解决呢?

cURL error 6: Could not resolve host

@yeszao
Copy link
Owner

yeszao commented Apr 24, 2018

已沟通解决了。
在docker-compose的PHP容器下加个:extra_hosts

@yeszao yeszao closed this as completed Apr 24, 2018
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