Docker Community Forums

Share and learn in the Docker community.

Visual studio web application fails to run on Docker container - Err_Name_Resolution_Failed (In Chrome)


(Kmp3006) #1

Added docker support to existing web application using visual studio 2017. Application compiles and runs fine but when launched on chrome it error outs to load subsequent resources. It finds first .aspx page but cant load any resources after that. This is my first experiment with converting an application to run with Docker. Any help is greatly appreciated.

Here is the dockerfile:

FROM microsoft/aspnet:4.7.1-windowsservercore-1709
ARG source
WORKDIR /inetpub/wwwroot
COPY ${source:-c:/test} .