Microsoft.NET.Build.Containers 10.0.103

.NET SDK Containers

This package lets you build container images from your projects with a single command.

Getting Started

To build a container from the SDK, add this package and run the publish command, specifying the DefaultContainer PublishProfile. You can learn more about Publish Profiles in the documentation.

>dotnet add package Microsoft.NET.Build.Containers
>dotnet publish --os linux --arch x64 -p:PublishProfile=DefaultContainer
...
Pushed container '<your app name>:<your app version>' to registry 'docker://'
...

Out of the box, this package will infer a number of properties about the generated container image, including which base image to use, which version of that image to use, and where to push the generated image. You have control over all of these properties, however. You can read more about these customizations here.

Note: This package only supports Web projects (those that use the Microsoft.NET.Sdk.Web SDK) in this version.

No packages depend on Microsoft.NET.Build.Containers.

# Microsoft.NET.Build.Containers 8.0.300 This version brings the following new features and enhancements: * The SDK will generate additional container metadata labels now. * The `org.opencontainers.image.base.digest` label will be added to uniquely identify the image used as a base for the application container. * The `net.dot.runtime.majorminor` label will be added to identify the major and minor version of the .NET Runtime that the application runs against. * The `net.dot.sdk.version` label will be added to identify the .NET SDK version used to build the application container. * The SDK can use and produce OCI base image layers, not just Docker base image layers. This will happen automatically based on the kind of base image digest you use. * The SDK will automatically use the `-extra` variant of base images when the application needs globalization/ICU support. So if you set `<ContainerFamily>jammy-chiseled</ContainerFamily>` and `<InvariantGlobalization>false</InvariantGlobalization>` in your project file, the SDK will behave as if you set `<ContainerFamily>jammy-chiseled-extra</ContainerFamily>` - this ensures that your application has the required ICU/Globalization support libraries. * The SDK will use the runtime-deps base images for Trimmed applications, in addition to AOT applications.

.NET 10.0

  • No dependencies.

Version Downloads Last updated
11.0.100-preview.1.26104.118 0 02/10/2026
10.0.103 1 02/20/2026
10.0.102 3 01/14/2026
10.0.101 2 01/14/2026
10.0.100 3 11/14/2025
10.0.100-rc.2.25502.107 4 10/17/2025
10.0.100-rc.1.25451.107 4 09/22/2025
10.0.100-preview.7.25380.108 2 09/29/2025
10.0.100-preview.6.25358.103 4 07/24/2025
10.0.100-preview.5.25277.114 5 06/07/2025
10.0.100-preview.4.25258.110 5 06/07/2025
10.0.100-preview.3.25201.16 5 06/07/2025
10.0.100-preview.2.25164.34 5 06/07/2025
10.0.100-preview.1.25120.13 7 06/05/2025
9.0.311 1 02/20/2026
9.0.310 1 02/20/2026
9.0.309 3 01/14/2026
9.0.308 3 11/21/2025
9.0.307 4 11/14/2025
9.0.306 5 10/17/2025
9.0.305 6 09/15/2025
9.0.304 6 09/15/2025
9.0.303 6 07/24/2025
9.0.302 7 07/14/2025
9.0.301 8 06/12/2025
9.0.300 8 05/31/2025
9.0.205 7 06/12/2025
9.0.204 8 05/29/2025
9.0.203 8 05/29/2025
9.0.202 8 05/29/2025
9.0.201 8 05/29/2025
9.0.200 8 05/29/2025
9.0.200-preview.0.24575.35 5 01/21/2025
9.0.114 1 02/20/2026
9.0.113 3 01/14/2026
9.0.112 4 11/14/2025
9.0.111 5 10/26/2025
9.0.110 6 09/15/2025
9.0.109 6 09/15/2025
9.0.108 7 07/14/2025
9.0.107 8 06/12/2025
9.0.106 9 05/29/2025
9.0.105 8 05/29/2025
9.0.104 8 05/29/2025
9.0.103 8 05/29/2025
9.0.102 8 01/21/2025
9.0.101 8 01/21/2025
9.0.100 8 01/21/2025
9.0.100-rc.2.24474.11 7 01/21/2025
9.0.100-rc.1.24452.12 7 01/21/2025
9.0.100-preview.7.24407.12 5 01/21/2025
9.0.100-preview.6.24328.19 5 01/21/2025
9.0.100-preview.5.24307.3 5 01/21/2025
9.0.100-preview.4.24267.43 5 01/21/2025
9.0.100-preview.3.24204.14 7 04/20/2024
9.0.100-preview.2.24157.36 7 04/20/2024
9.0.100-preview.1.24101.1 8 04/19/2024
8.0.418 1 02/20/2026
8.0.417 3 01/14/2026
8.0.416 4 11/14/2025
8.0.415 4 10/26/2025
8.0.414 6 09/15/2025
8.0.413 6 09/15/2025
8.0.412 7 07/14/2025
8.0.411 8 06/12/2025
8.0.410 9 05/29/2025
8.0.409 8 05/29/2025
8.0.408 8 05/29/2025
8.0.407 8 05/29/2025
8.0.406 8 05/29/2025
8.0.405 8 01/21/2025
8.0.404 8 01/21/2025
8.0.403 8 01/21/2025
8.0.402 8 01/21/2025
8.0.401 8 01/21/2025
8.0.400 8 01/21/2025
8.0.319 4 11/14/2025
8.0.318 5 10/17/2025
8.0.317 6 09/15/2025
8.0.316 6 09/15/2025
8.0.315 7 07/14/2025
8.0.314 8 06/12/2025
8.0.313 8 05/29/2025
8.0.312 8 05/29/2025
8.0.311 8 05/29/2025
8.0.310 8 05/29/2025
8.0.309 8 05/29/2025
8.0.308 9 01/21/2025
8.0.307 8 01/21/2025
8.0.306 8 01/21/2025
8.0.304 8 01/21/2025
8.0.303 9 01/21/2025
8.0.302 8 01/21/2025
8.0.301 8 01/21/2025
8.0.300 9 01/21/2025
8.0.206 8 01/21/2025
8.0.205 8 01/21/2025
8.0.204 10 04/19/2024
8.0.202 9 04/20/2024
8.0.200 10 04/18/2024
8.0.124 1 02/20/2026
8.0.123 3 01/14/2026
8.0.122 4 11/14/2025
8.0.121 4 10/26/2025
8.0.120 6 09/15/2025
8.0.119 6 09/15/2025
8.0.118 7 07/14/2025
8.0.117 8 06/12/2025
8.0.116 8 05/29/2025
8.0.115 8 05/29/2025
8.0.114 8 05/29/2025
8.0.113 9 05/29/2025
8.0.112 8 01/21/2025
8.0.111 9 01/21/2025
8.0.110 8 01/21/2025
8.0.108 8 01/21/2025
8.0.107 8 01/21/2025
8.0.106 8 01/21/2025
8.0.105 8 01/21/2025
8.0.104 11 04/18/2024
8.0.103 10 04/20/2024
8.0.102 10 04/20/2024
8.0.101 10 04/20/2024
8.0.100 10 04/18/2024
8.0.100-rc.2.23480.5 8 04/19/2024
8.0.100-rc.1.23462.41 9 04/19/2024
8.0.100-rc.1.23455.21 9 04/19/2024
8.0.100-preview.7.23376.5 7 04/18/2024
8.0.100-preview.6.23330.7 7 04/20/2024
8.0.100-preview.5.23303.1 7 04/18/2024
8.0.100-preview.4.23260.11 7 04/18/2024
7.0.410 8 01/21/2025
7.0.409 8 01/21/2025
7.0.408 10 04/20/2024
7.0.407 9 04/19/2024
7.0.406 10 04/19/2024
7.0.405 10 04/20/2024
7.0.404 9 04/19/2024
7.0.403 10 04/20/2024
7.0.402 10 04/18/2024
7.0.401 9 04/19/2024
7.0.400 9 04/19/2024
7.0.317 8 01/21/2025
7.0.316 8 01/21/2025
7.0.315 9 04/19/2024
7.0.314 10 04/20/2024
7.0.313 10 04/19/2024
7.0.312 10 04/19/2024
7.0.311 10 04/19/2024
7.0.310 10 04/20/2024
7.0.309 10 04/18/2024
7.0.308 10 04/20/2024
7.0.307 11 04/20/2024
7.0.306 11 08/18/2023
7.0.305 10 04/19/2024
7.0.304 10 04/19/2024
7.0.302 9 04/20/2024
0.4.0 9 04/20/2024
0.3.2 9 04/19/2024
0.2.7 8 01/21/2025
0.1.8 9 04/19/2024