Skip to content

Commit 6538280

Browse files
richlanderlbussellmthalmanCam Soper
authored
Add breaking change for containers - default tag (#45054)
* Add breaking change for containes - default tag * Apply suggestions from code review Co-authored-by: Logan Bussell <[email protected]> Co-authored-by: Matt Thalman <[email protected]> * Update per feedback * Fix TOC --------- Co-authored-by: Logan Bussell <[email protected]> Co-authored-by: Matt Thalman <[email protected]> Co-authored-by: Cam Soper <[email protected]>
1 parent 7093cde commit 6538280

File tree

3 files changed

+61
-0
lines changed

3 files changed

+61
-0
lines changed

docs/core/compatibility/10.0.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ If you're migrating an app to .NET 10, the breaking changes listed here might af
1616
>
1717
> This article is a work in progress. It's not a complete list of breaking changes in .NET 10. To query breaking changes that are still pending publication, see [Issues of .NET](https://issuesof.net/?q=%20is:open%20-label:Documented%20is:issue%20(label:%22Breaking%20Change%22%20or%20label:breaking-change)%20(repo:dotnet/docs%20or%20repo:aspnet/Announcements)%20group:repo%20(label:%22:checkered_flag:%20Release:%20.NET%2010%22%20or%20label:10.0.0)%20sort:created-desc).
1818
19+
## Containers
20+
21+
| Title | Type of change | Introduced version |
22+
|----------------------------------------------------------------------------------------------------------------------------|---------------------|--------------------|
23+
| [Default .NET images use Ubuntu](containers/10.0/default-images-use-ubuntu.md) | Behavioral change | Preview 1 |
24+
1925
## Core .NET libraries
2026

2127
| Title | Type of change | Introduced version |
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: "Default .NET container tags now use Ubuntu"
3+
description: Learn about the breaking change where the default .NET container tags, like `10.0`, use Ubuntu.
4+
ms.date: 2/26/2025
5+
---
6+
7+
# Default .NET images use Ubuntu
8+
9+
The default Linux distro for .NET tags has been changed from Debian to Ubuntu. This applies to all .NET tags that do not explicitly specify an OS.
10+
11+
Debian images are still produced and supported. They can be referenced using the `-trixie-slim` suffix.
12+
13+
- `docker pull mcr.microsoft.com/dotnet/sdk:10.0-preview` - Refers to Ubuntu 24.04 "Noble Numbat"
14+
- `docker pull mcr.microsoft.com/dotnet/sdk:10.0-preview-noble` - Refers to Ubuntu 24.04 "Noble Numbat"
15+
- `docker pull mcr.microsoft.com/dotnet/sdk:10.0-preview-trixie-slim` - Refers to Debian 13 "Trixie"
16+
17+
The same change will apply to `10.0` tags once the `-preview` suffix is removed. This change was proposed in [dotnet-docker #5709](https://github.com/dotnet/dotnet-docker/discussions/5709).
18+
19+
## Version introduced
20+
21+
.NET 10 Preview 1
22+
23+
## Previous behavior
24+
25+
.NET 9 and earlier default tags reference images based on Debian.
26+
27+
## New behavior
28+
29+
Default tags reference images based on Ubuntu.
30+
31+
## Type of breaking change
32+
33+
This change is a [behavioral change](../../categories.md#behavioral-change).
34+
35+
## Reason for change
36+
37+
Debian and .NET release cycles (for mainline support) are the same length, while Debian is released (and by extensions) goes out of support first. Ubuntu support periods are much longer, such that a given .NET release will go out of support before the given Ubuntu version.
38+
39+
## Recommended action
40+
41+
Test your application. This change is unlikely to affect users.
42+
43+
If you prefer Debian or have a dependency on it, use a Debian specific tag, such as `10.0-preview-trixie-slim`.
44+
45+
## Affected APIs
46+
47+
N/A

docs/core/compatibility/toc.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ items:
88
items:
99
- name: Overview
1010
href: 10.0.md
11+
- name: Containers
12+
items:
13+
- name: Default .NET images use Ubuntu
14+
href: containers/10.0/default-images-use-ubuntu.md
1115
- name: Core .NET libraries
1216
items:
1317
- name: API obsoletions with non-default diagnostic IDs
@@ -1316,6 +1320,10 @@ items:
13161320
href: configuration/7.0/diagnostics-config-section.md
13171321
- name: Containers
13181322
items:
1323+
- name: .NET 10
1324+
items:
1325+
- name: Default .NET images use Ubuntu
1326+
href: containers/10.0/default-images-use-ubuntu.md
13191327
- name: .NET 9
13201328
items:
13211329
- name: Container images no longer install zlib

0 commit comments

Comments
 (0)