Docker Community Forums

Share and learn in the Docker community.

.Net Core 5 Web API Project not working with Docker Compose

I am trying to use docker-compose with my project.
Having issue with .Net 5 API project.
It works properly with ISS Express and Docker but when I run project with docker-compose api project is not working as expected.
As expeced when running docker-compose it should run API project and launch swagger api page instead it’s displaying different erros when exposed ports are accessed via browser.

Due to new user limit not able to update complete description with images here
Please review question with detailed information here