.NET DOCKER BUSTER图像6.0
我需要
从mcr.microsoft.com/dotnet/core/aspnet:3.0-buster-slim作为
mcr.microsoft.com/dotnet/core/core/sdk:3.0-buster for Mcr.microsoft.com/dotnet/core/aspnet:3.0-buster-slim
for .net 6.0的uster图像.net6.0?
I need buster image for .NET 6.0
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0-buster-slim AS base
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-buster AS build
What should be for .net6.0 ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Buster图像是基于Debian 10(),基于Buster的.NET 6没有官方图像(请参阅完整标签列表for asp.net核心),仅在Debian 11(Bullseye)上,因此您可以采取这些(6.0-Bullseye-Slim)。
Buster images are images based on Debian 10 (Buster), there is no official images for .NET 6 based on Buster (see full tag listings for SDK and ASP.NET Core), only on Debian 11 (Bullseye), so you can take those (6.0-bullseye-slim).
要运行您的容器可以在Debian OS中使用以下命令
To Run Your Container can use below commands in debian os
您可以在项目中使用此Dockerfile
you can use this DockerFile in your Project