我已经在我的
Dockerfile
中使用以下脚本创建了一个镜像,但是当我使用容器的IP地址和端口(2000)进行浏览时,我得到了403-Forbidden: Access is denied。我正在使用Windows 10.0.14393 Build 14393,Docker Desktop for Windows。该项目是一个包含Nancy、Entity Framework、AngularJS和SQL Server项目的ASP.NET解决方案。是否需要对我的IIS、Docker、Powershell等进行任何配置更改?我的Dockerfile脚本如下:FROM microsoft/aspnet:windowsservercore
# using powershell commands
SHELL ["powershell"]
# location of the source directory
WORKDIR C:/src/Project
# run project using port 2000
RUN Remove-Website -Name 'Default Web Site'; \
New-Website -Name 'Project' -Port 2000 -PhysicalPath 'C:/src/Project'