I've created a app in asp.net core and create a dockerfile to generate a local image and run it.
FROM microsoft/dotnet:latest
COPY . /app
WORKDIR /app
RUN ["dotnet", "restore"]
RUN ["dotnet", "build"]
EXPOSE 5000/tcp
ENTRYPOINT ["dotnet", "run", "--server.urls", "http://0.0.0.0:5000"]
Then, I've builded my image with the following command
docker build -t jedidocker/first .
Then, I've created a container with the following command
docker run -t -d -p 5000:5000 jedidocker/first
But when I run the following url into my host browser
http://localhost:5000/
I have an ERR_EMPTY_RESPONSE
is it a network problem? How can I solve it?
P.S: My windows version is 10.0.10586