nginx: [emerg] host not found in resolver "run" in /etc/nginx/nginx.conf #36
Comments
btw , I've just pulled another nginx container ( official and latest one) to understand whether this problem is related with my host computer or not..
it might helps. |
I cant reproduce this. The command is running fine, no error message:
Also the correct jira/nginx configuration can be found here: https://github.com/blacklabelops/jira |
Thank you, I'll try it asap and let you know. |
Your error is in this line: My config resolver:
Yours:
Your environment is lacking the docker dns resolver. I am using this command to get the resolver:
|
Gotcha! Thank you for your correction. I'll try it and I totally agree with you. This must be my problem. |
almost what I needed, when i upgraded from ubuntu 16.04 to 18.04, my resolve.conf as a new commented line. Instead of head -1, i exclude all the comments : grep -v "#" so I used
|
Hi , We're facing an error (nginx: [emerg] host not found in resolver "run" in /etc/nginx/nginx.conf) even simple form of container run command.
the command that we run is "docker run -d -p 80:80 --name nginx blacklabelops/nginx"
any suggestion ?
Thanks
The text was updated successfully, but these errors were encountered: