Are you trying to up your docker instance and you noticed the following error, “curl: (6) Could not resolve host: nodejs.org”
![](https://rmcdigital.com/wp-content/uploads/2024/06/image.png)
There is an easy solution, how to fix this issue.
- Go To Docker Desktop -> Settings -> Docker Engine
- Add
{
"dns": [
"8.8.8.8"
],
....
}
DNS Record will help to your Docker to resolve the nodejs.org.
I hope that you find helpful this post.
Leave a Reply