# containerd v2.1.6

2025-12-18 · [元のリリースノート](https://github.com/containerd/containerd/releases/tag/v2.1.6) · [全体のまとめ](https://ratatosk.io/ja/releases/containerd/v2.1.6)

セキュリティ 1 · 破壊的変更 3 · 重大な修正 1 · 依存関係の更新 21 · その他の変更 6

## アップグレード前の確認事項

### 前提条件

- **追加のインストール前提条件**: containerd に加えて、通常は runc と CNI プラグインも公式サイトからインストールする必要があります。
  > In addition to containerd, typically you will have to install [runc](https://github.com/opencontainers/runc/releases)
  > and [CNI plugins](https://github.com/containernetworking/plugins/releases) from their official sites too.

## セキュリティ (1)

### CRI の失敗ログにおける URL クエリパラメーターのマスキング

- 影響対象: CRI の `PullImage`、`ListImages`、`ImageStatus`、`RemoveImage` 操作 (推定)

これらの操作で失敗した場合、`*url.Error` を含むエラーは、ログに記録する前に URL のすべてのクエリパラメーターが `[REDACTED]` に置き換えられます。

> * Redact all query parameters in CRI error logs ([#12547](https://github.com/containerd/containerd/pull/12547))
>   * [`b72d0dfe0`](https://github.com/containerd/containerd/commit/b72d0dfe0458e1b5f1e67ba70476fc4887ee5f08) fix: redact all query parameters in CRI error logs

## 破壊的変更 (3)

### 2.1ブランチのビルドが latest として指定されなくなる

- 影響対象: latest リリース指定でリリースを選択する利用者または自動化 (推定)

以前は、2.1ブランチのビルドに latest の指定が付与され、2.2ブランチのビルドに付いた指定を上書きすることがありました。

> * Update 2.1 branch to no longer build as latest ([#12487](https://github.com/containerd/containerd/pull/12487))
>   * [`ecd58bd65`](https://github.com/containerd/containerd/commit/ecd58bd6507cb6c566c68b440ceea5d7d99b3260) Update 2.1 branch to no longer build as latest
> </p>
> </details>

### Windows ホストとコンテナーの互換性マッチングに Server 2025 を追加

- 影響対象: Windows ホストとコンテナーの互換性マッチング

マッチャーが `ltsc2025` をビルド `26100` として認識し、互換性リストに `ltsc2022` と並べて追加します。ホストのビルド番号より小さい、リストに記載された最新の LTSC リリースを、コンテナービルドのチェックの下限として使用します。

> * Add WS2025 to Windows matcher and code optimizations ([containerd/platforms#24](https://github.com/containerd/platforms/pull/24))
>   * [`4549974`](https://github.com/containerd/platforms/commit/4549974181760492ffc528fae4d7f29620a2c67c) Add WS2025 to Windows matcher and code optimizations

### Go 1.23 でのビルドサポート廃止

- 影響対象: Go 1.23 を使用するビルド環境
- 必要な対応: containerd のビルドに必要な Go 1.24.0

> * go.mod: golang.org/x/crypto v0.45.0 (drop support for Go 1.23) ([#12639](https://github.com/containerd/containerd/pull/12639))
>   * [`55a2d8c8d`](https://github.com/containerd/containerd/commit/55a2d8c8d0bf6c5a7481c8922eb5a351f82f9344) CI: drop Go 1.23
>   * [`fd8e3c39b`](https://github.com/containerd/containerd/commit/fd8e3c39b952b2fb9278df64f9de4e46fa78dd36) Update Go requirements in BUILDING

## 重大な修正 (1)

### Windows のデフォルトプラットフォームマッチャーで一致項目を完全な `OSVersion` 順に並べ替え

- 影響対象: デフォルトの Windows プラットフォームマッチャーを使って、マニフェストエントリーなどの一致したプラットフォーム項目を並べ替える構成

以前は、Windows プラットフォームが両方とも一致した場合、`Less` は `winRevision` を使ってバージョンの第4要素だけを比較していました。現在は、完全な `OSVersion` 文字列を比較します。

> * use windowsMatchComparer for OSVersion match order ([containerd/platforms#25](https://github.com/containerd/platforms/pull/25))
>   * [`8c0d9f9`](https://github.com/containerd/platforms/commit/8c0d9f9835bbe848b9c6f6f4a3a23f7dc97de927) use windowsMatchComparer for OSVersion match order

## 依存関係の更新 (21)

### `golang.org/x/crypto` を `v0.41.0` から `v0.45.0` に更新

- [CVE-2025-47913](https://www.cve.org/CVERecord?id=CVE-2025-47913), [CVE-2025-47914](https://www.cve.org/CVERecord?id=CVE-2025-47914), [CVE-2025-58181](https://www.cve.org/CVERecord?id=CVE-2025-58181), [GHSA-56w8-48fp-6mgv](https://github.com/advisories/GHSA-56w8-48fp-6mgv), [GHSA-f6x5-jh6r-wrfv](https://github.com/advisories/GHSA-f6x5-jh6r-wrfv), [GHSA-j5w8-q4qc-rx2x](https://github.com/advisories/GHSA-j5w8-q4qc-rx2x), [GO-2025-4116](https://osv.dev/vulnerability/GO-2025-4116)

この更新により、`v0.41.0` で見つかった脆弱性に関する `govulncheck` の報告が出なくなります。

> * go.mod: golang.org/x/crypto v0.45.0 (drop support for Go 1.23) ([#12639](https://github.com/containerd/containerd/pull/12639))
>   * [`e81678853`](https://github.com/containerd/containerd/commit/e816788537ca2b9484aa86da58391923e873f571) go.mod: golang.org/x/crypto v0.45.0

ほか20件（いずれもセキュリティへの言及なし）

- `` * go.mod: containerd/zfs v2.0.0 ([#12655](https://github.com/containerd/containerd/pull/12655)) * [`7e75db3a9`](https://github.com/containerd/containerd/commit/7e75db3a929414f46a3e7c8790ea0eec3288e394) build(deps): bump github.com/containerd/zfs/v2 from 2.0.0-rc.0 to 2.0.0 ``
- `` * go.mod: github.com/containernetworking/plugins v1.9.0 ([#12659](https://github.com/containerd/containerd/pull/12659)) * [`69efd067c`](https://github.com/containerd/containerd/commit/69efd067caca778588edd945a5e9f2a4feb156a6) go.mod: github.com/containernetworking/plugins v1.9.0 ``
- `` * Update runc binary to v1.3.4 ([#12618](https://github.com/containerd/containerd/pull/12618)) * [`251f0a285`](https://github.com/containerd/containerd/commit/251f0a2854f7831ca040d7ba2dab181fd02f2240) runc: Update runc binary to v1.3.4 ``
- `` * build(deps): bump github.com/opencontainers/selinux ([#12590](https://github.com/containerd/containerd/pull/12590)) * [`55a25ec6e`](https://github.com/containerd/containerd/commit/55a25ec6efa335cdb9e6b56207643f33277be4d4) build(deps): bump github.com/opencontainers/selinux ``
- `* **github.com/containerd/platforms**         v1.0.0-rc.1 -> v1.0.0-rc.2`
- `* **github.com/containerd/zfs/v2**            v2.0.0-rc.0 -> v2.0.0`
- `* **github.com/containernetworking/plugins**  v1.7.1 -> v1.9.0`
- `* **github.com/coreos/go-systemd/v22**        v22.5.0 -> v22.6.0`
- `* **github.com/cyphar/filepath-securejoin**   v0.5.1 **_new_**`
- `* **github.com/go-logr/logr**                 v1.4.2 -> v1.4.3`
- `* **github.com/opencontainers/selinux**       v1.12.0 -> v1.13.1`
- `* **github.com/vishvananda/netlink**          0e7078ed04c8 -> v1.3.1`
- `* **golang.org/x/crypto**                     v0.36.0 -> v0.45.0`
- `* **golang.org/x/mod**                        v0.24.0 -> v0.29.0`
- `* **golang.org/x/net**                        v0.38.0 -> v0.47.0`
- `* **golang.org/x/sync**                       v0.14.0 -> v0.18.0`
- `* **golang.org/x/sys**                        v0.33.0 -> v0.38.0`
- `* **golang.org/x/term**                       v0.30.0 -> v0.37.0`
- `* **golang.org/x/text**                       v0.23.0 -> v0.31.0`
- `* **google.golang.org/protobuf**              v1.36.6 -> v1.36.7`

## その他の変更 (6)

- v2.1.6 リリースノートの準備完了
- Linux CRI/NRI の nil 調整に対する早期リターン
- Runtime v2 の gRPC OpenTelemetry 計装を stats handler に移行
- CI とリリースビルドで使う Go ツールチェーンのバージョン更新
- CIFuzz の `build_fuzzers` と `run_fuzzers` アクションの Ubuntu 24.04 対応
- containerd/platforms の CI ワークフローで Go とプロジェクトチェックのバージョンを更新

---

整理した内容は AI が作成するため誤っている可能性があり、無保証で提供されます。
