docker run --name wsscore -d -p 6000:6000 wsscore:1.0
FROM microsoft/dotnet
WORKDIR /publish
COPY . /publish
CMD ["dotnet", "corelearn.web.dll","--server.urls","http://6000"]
有大神帮忙看看吗
这个是我的dockerfile文件 和run命令
为什么 程序起来不了
相关问题
- Docker task in Azure devops won't accept "$(pw
- Unable to run mariadb when mount volume
- Unspecified error (0x80004005) while running a Doc
- What would prevent code running in a Docker contai
- How to reload apache in php-apache docker containe
不错,解决了我的问题
镜像写的不对,应该是
FROM microsoft/dotnet:2.1-aspnetcore-runtime