Skip to content

Docs to support the new ability to build containers using just the .NET SDK (instead of Docker Desktop) #32355

@AngelosP

Description

@AngelosP

Tell us what search terms you used and how you searched docs.
Container build with .net
.NET sdk build container
build .net container without dockerfile
csproj container build
c# container sdk build

Tell us what docs you found that didn't address your concern.
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-publish
https://learn.microsoft.com/en-us/dotnet/core/deploying/
https://learn.microsoft.com/en-us/dotnet/core/deploying/deploy-with-vs?tabs=vs156
https://learn.microsoft.com/en-us/dotnet/core/deploying/deploy-with-cli

Explain why this article is needed
Up until now .NET users who wanted to build containers has to install Docker Desktop on their machines and they had to use Dockerfiles. With the release of .NET 7 users now have the option to build containers using the .NET SDK (with certain limitations) and avoid having to install Docker Desktop as well as avoid having to maintain a Dockerfile.

Suggest a location in the Table of Contents.

We should probably do a bunch of things about this, but at the very least the following quickly come to mind:

We should revamp the overview and include it in there
https://learn.microsoft.com/en-us/dotnet/core/deploying/

We should also include it as part of the existing page on publish
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-publish

We should also talk about the VS integration for the feature in this existing page
https://learn.microsoft.com/en-us/dotnet/core/deploying/deploy-with-vs?tabs=vs156

Write an abstract. In one short paragraph, describe what this article will cover.
Create an outline for the new article. We'll help review the outline and approve it before anyone writes the article.
Check out the opening paragraph of the existing dotnet article on this - it's a good starting point:

Containers have many features and benefits, such as being an immutable infrastructure, providing a portable architecture, and enabling scalability. The image can be used to create containers for your local development environment, private cloud, or public cloud. In this tutorial, you'll learn how to containerize a .NET application using the dotnet publish command.


Associated WorkItem - 232975

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.okr-curationOKR: Curate content to remove outdated recommendations

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions