代码拉取完成,页面将自动刷新
The following samples and guidance demonstrate how to use .NET Core and Docker for development, testing and production. You can use the samples as the basis of your own Docker images or just to learn.
In addition to fully operational sample projects, code snippets are also provided for demonstrating more specific scenarios.
The following commands will run a .NET Core console app in a container:
docker run --rm mcr.microsoft.com/dotnet/core/samples
The following command will run an ASP.NET Core console app in a container that you can access in your web browser at http://localhost:8000
.
docker run --rm -it -p 8000:80 mcr.microsoft.com/dotnet/core/samples:aspnetapp
You can find .NET container images at the following Docker repositories:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。