Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Local Docker Not Working #5836


User avatar
0
meritmiledev created

I downloaded a fresh non-edited copy of the latest version:

ASPNETZERO 6.1.0 ASP.NET CORE & Angular .NET CORE 2.1

Then followed this guide only as my next step to getting it running locally on Docker: https://aspnetboilerplate.com/Pages/Documents/Articles/Running-in-Docker-Containers-and-Building-a-Web-Farm-Load-Balancer-Scenario/index.html

After running the build-with-ng.ps1 script as instructed I updated my shared drives setting in Docker and updated the Default Connection String in my appsettings.Staging.json file. Then when I completed that I ran the up.ps1 script from the build/outputs dir as the guide states but when I did I was unable to access the Host at http://localhost:9901 and when i went to access the ng client app @ http://localhost:9902 it hangs on the loading screen which I assume is because it isn't seeing the host running where it should be.

After running docker ps I saw that only the ng container was actually running. So I checked docker images and saw that in fact the image had been built but the host container never started.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @meritmiledev

    Sorry for our late reponse, have you figured it out ?