Aspnet进入CentOS Docker

编程入门 行业动态 更新时间:2024-10-25 02:23:30
本文介绍了Aspnet进入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:

hub.docker/r/microsoft/aspnet/

hub.docker/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.

请使用此图片:

hub.docker/r/microsoft/dotnet/

hub.docker/r/microsoft/dotnet/

并按照https:上的新说明操作: //www.microsoft/net

And follow new instructions onwww.microsoft/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

本文发布于:2023-11-14 09:09:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1586805.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Aspnet   CentOS   Docker

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!