Aspnet进入CentOS Docker [英] Aspnet into CentOS Docker
问题描述
大家好,我想测试aspnet docker镜像到CentOS机器,但我找不到一种方法来查看应用程序,所以我不明白docker image microsoft / aspnet是否对Linux机器有效。我跟着一个带有所有指令的网站,我测试了microsoft / aspnet
和microsoft / dotnet都有相同的结果....说实话,第一个图像没有dotnet命令。
hi all, I want test aspnet docker image into CentOS machine but I cannot find a way to see the app so I don't understand if the docker image microsoft/aspnet is valid for Linux machine or not. I followed a web site with all the instruction and I tested microsoft/aspnet and microsoft/dotnet both with the same result....to be honest the first image doesn't has dotnet command.
你有什么线索吗?
谢谢
推荐答案
根据这个链接:
According to this link:
https://hub.docker.com/r/microsoft/aspnet/
https://hub.docker.com/r/microsoft/aspnet/
此存储库适用于版本1.0.0 -RC1和旧版本的ASP.NET Core。 对于
1.0.0-RC2使用 microsoft / dotnet 。
所以如果你找不到dotnet cli,这可能是正确的。
So if you can't find dotnet cli, that's probably correct.
请使用此图片:
https://hub.docker.com/r/microsoft/dotnet/
https://hub.docker.com/r/microsoft/dotnet/
并按照https:上的新说明操作: //www.microsoft.com/net
And follow new instructions on https://www.microsoft.com/net
ps本质上,docker hub只托管Linux映像,Windows Container非常新,支持仍然在不断增长。
p.s. By nature docker hub only hosts Linux images, Windows Container is very new, the support is still building up over the time.
这篇关于Aspnet进入CentOS Docker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!