-
-
Notifications
You must be signed in to change notification settings - Fork 694
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
Environment Setup: docker_nginx doesn't not start - [emerg] 1#1: host not found in upstream #249
Comments
Hey @maxiar, Thank you reaching us! I suspect the issue is on accounts-api. It did not find the required
Please check the "shared drivers" in Docker desktop or run
To narrow your findings try |
Hi! I don't have the "shared drivers" in Docker desktop, this option is only enabled for Windows Containers (docker/for-win#7199 (comment)). I verified the "docker inspect accounts-api" I found this:
And the files are located correctly: Note that: In the previous post I tell you that only run the "Run the truscert-windows.ps1 to add the localhost certificate", may be I missing something... How to test or execute this command into accounts-api? |
Co-authored-by: charith-desilva <[email protected]>
Hi! I'm trying to startup the projects using the latest version of vscode, dockers over windows 10...
I following the next steps successfully withouts errors but the
Do I forgot any steps?
All was fine but the the next containers don't start:
docker_nginx logs:
/docker-entrypoint.sh: Configuration complete; ready for start up
2020/11/19 02:28:54 [emerg] 1#1: host not found in upstream "accounts-api" in /etc/nginx/nginx.conf:41
nginx: [emerg] host not found in upstream "accounts-api" in /etc/nginx/nginx.conf:41
Obviously I can't browser any https://wallet.local:8081/ website....
I attached the nginx_config.json configuration file
docker_nginx.log
accounts logs:
standard_init_linux.go:211: exec user process caused "no such file or directory"
docker_accounts-api-seeds logs
Build started...
Build succeeded.
Server=sql1;User Id=sa;Password=XXXX;Database=Accounts;
Applying migration '20200821064304_InitialCreate'.
Done.
NOTE: I verified the SQL connections and tables, all works fine.
I supossed that the main issue is the nginx but I don't know how to fix it!
PD: I install and uninstall some times the dockers images and delete all containers and start again, without success.
Thanks
The text was updated successfully, but these errors were encountered: