Microsoft.NET.Build.Containers 10.0.107

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