403 forbidden error on running an MVC application on container RRS feed

  • Question

  • I am trying to do a lift and shift for of a Asp.Net MVC application to a docker container. When using Visual Studio I am able to run the container  but when use powershell to create an container out of an image i get a 403 forbidden  error . Here are some facts about the project

    • Asp.Net MVC .
    • Anonymous authentication is enabled
    • Docker image can be created 
    • Docker container can be started

    The docker file looks like this

    FROM microsoft/aspnet
    ARG source
    WORKDIR /inetpub/wwwroot
    EXPOSE 80
    COPY ${source} .


    Thursday, May 2, 2019 8:12 AM