ニュースのトップページに戻る

Incus 6.21 リリースのお知らせ

2026/01/23

はじめに

Incus チームは、Incus 6.21 のリリースのアナウンスができてうれしいです!

2026 年はいくつかのセキュリティ修正からスタートしますが、それだけではありません。長く要望があった CLI の改善、ネットワークカードで SR-IOV を使用する場合の使いやすさの向上、起動パフォーマンスの改善なども行っています!

image|690x374

いつものように、オンラインでご自身で試せます: https://linuxcontainers.org/incus/try-it/

Enjoy!

セキュリティ修正

synk.io の Rory McNamara から、重大度 High の脆弱性が 2 件報告されました。

これらの脆弱性はいずれも、incus グループに属するローカルユーザーや、制限付き TLS クライアント証明書や同等の OpenFGA/スクリプトレット設定を使用するリモートユーザーなど、通常は権限が制限されている Incus ユーザーが権限を昇格できます。

  • CVE-2026-23953 (環境変数における改行文字インジェクション)
  • CVE-2026-23954 (テンプレートを通したファイルの読み取り・書き込みが可能となる脆弱性)

これらの問題はいずれも本リリースで修正済みです。そして、Incus 6.0.x ブランチにもバックポートが利用可能になっており、各種 Linux ディストリビューションを通してもセキュリティーアップデートが順次公開されています。

新機能

incus wait コマンド

新たに incus wait コマンドが導入されました。このコマンドは、現時点では、次の複数の状況が発生するまで待機できます:

  • インスタンスが特定の状態に到達した
  • VM エージェントが準備完了状態になった
  • インスタンスが IP アドレスを取得した

この機能は将来的にはさらに拡張され、一般的な追加条件にも対応する予定です。

stgraber@castiana:~$ incus launch images:debian/13 v1 --vm && incus wait v1 agent && incus exec v1 -- echo "Hello world"
Launching v1
Hello world

ネットワークインタフェースの自動 SR-IOV 選択

SR-IOV ネットワークインターフェースにも、GPU 向けに導入された動的選択ロジックと同様の機能が実装されました。

これにより、NIC の製造元やモデルに基づいて SR-IOV ネットワークインターフェースを追加できるようになりました。システム上に複数の物理インターフェースが存在する場合でも、Incus はインスタンスに最適な物理カードを選択し、各カードおよびポート間で VF をバランシングします。

stgraber@dakara:~$ incus create images:debian/13 sriov
Creating sriov
stgraber@dakara:~$ incus config device add sriov eth0 nic nictype=sriov vendorid=8086 productid=10fb
Device eth0 added to sriov
stgraber@dakara:~$ incus start sriov

ドキュメント : https://linuxcontainers.org/incus/docs/main/reference/devices_nic/#id2

ネットワークインターフェースの attachedconnected プロパティー

ほとんどの NIC デバイスについて、新たなプロパティが 2 つ利用可能になりました。

  • attached は、NIC が現在インスタンスに接続されているかどうかを制御します。これを false に設定すると、NIC の設定を保持したまま、デバイスをインスタンスから完全に切り離せます
  • connected は、ネットワークリンクが接続されているかどうかを制御します。これを false に設定すると、ネットワークインターフェースはインスタンス内に保持されますが、接続性は失われます

次に実際の使用例を示します:

stgraber@dakara:~$ incus launch images:debian/13 v1 --vm
Launching v1
stgraber@dakara:~$ incus exec v1 -- ping6 -n ipv6.google.com -c1
PING ipv6.google.com (2607:f8b0:4023:1804::71) 56 data bytes
64 bytes from 2607:f8b0:4023:1804::71: icmp_seq=1 ttl=113 time=14.2 ms

--- ipv6.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 14.151/14.151/14.151/0.000 ms
stgraber@dakara:~$ incus config device override v1 eth0 connected=false
Device eth0 overridden for v1
stgraber@dakara:~$ incus exec v1 -- ping6 -n ipv6.google.com -c1
ping6: ipv6.google.com: Temporary failure in name resolution
stgraber@dakara:~$ incus config device set v1 eth0 connected=true
stgraber@dakara:~$ incus exec v1 -- ping6 -n ipv6.google.com -c1
PING ipv6.google.com (2607:f8b0:4023:1804::64) 56 data bytes
64 bytes from 2607:f8b0:4023:1804::64: icmp_seq=1 ttl=111 time=17.0 ms

--- ipv6.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 16.960/16.960/16.960/0.000 ms
stgraber@dakara:~$ incus config device set v1 eth0 attached=false
stgraber@dakara:~$ incus exec v1 -- ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

インスタンスの並列起動

これまで、システム起動時に自動起動するとマークされたインスタンスはすべて、定義された優先度と遅延時間にしたがって、順番に起動していました。

大規模システムでの処理速度をアップさせるため、Incus は各プロジェクトのインスタンスリストをチェックし、インスタンスが優先度と遅延時間を使用していないプロジェクトについては、システムで利用可能な 4 CPU スレッドごとに 1 インスタンスずつ並列に起動するようになりました(例えば 16 スレッドのシステムでは、4 インスタンスを同時に起動します)。

OIDC クレームによるネットワーク制限

OIDC 認証を使っているユーザー向けに、新たに高度なオプションとして incus.allowed_subnets というクレームが追加されました。このクレームは、クライアントが API との通信が許可されるために接続する必要がある CIDR サブネットをカンマ区切りで指定できます。

この機能は、特定のユーザーグループが常に VPN 経由や物理サイトから接続する必要がある環境で特に便利です。IdP は必要に応じてこのクレームをセットするように設定でき、Incus はすべてのリクエストでこのクレームを検証します。

ドキュメント : https://linuxcontainers.org/incus/docs/main/authentication/#openid-connect-authentication

ネットワークゾーンにおける SOA レコードのサポート強化

生成する DNS ネットワークゾーンで、より標準的な SOA レコードが生成されるようになりました。これには、最初に構成された DNS サーバーをプライマリー DNS サーバーとして利用することや、ゾーン内の連絡先フィールドをカスタマイズする新たな dns.contact 設定オプションの導入が含まれます。

ドキュメント : https://linuxcontainers.org/incus/docs/main/howto/network_zones/

API での強制(再帰的)ファイル削除機能のサポート

Incus では、インスタンスとカスタムボリューム内のファイルへのアクセスのために、2 つの異なる API をサポートしています。
最新のクライアントは、より新しい SFTP ベースの API を利用しており、これにより非常に色々なファイルシステム操作ができます。一方、よりシンプルで従来型のクライアントは、ファイル操作に基本的な REST API を使用しています。

SFTP では簡単に利用できるものの、REST API では利用できない機能に、ファイルシステムツリーの強制削除機能がありました。これは実質的には再帰的な削除処理を実行します。

SFTP を使用しないユーザーがより簡単に操作できるよう、DELETE 操作用に、新たに X-Incus-force HTTP ヘッダーを導入しました。このヘッダーは、incus file delete -f 操作と同様に、サーバーサイドで再帰的な削除を実行します。

すべての変更点

このリリースのすべての変更のリストは次の通りです(翻訳なし):

すべてのChangeLogを見る
  • doc/openfga: Improve required config keys
  • incusd/network/ovn: Drop now obsolete DNS check
  • incusd/storage/truenas: fix SetVolumeQuota issue when growing FS volumes
  • cmd/incus-user: Don't reset setup if user has access
  • api: oidc_allowed_subnets
  • incusd/auth/oidc: Introduce incus.restricted_subnets
  • doc/authentication: Mentioned incus.allowed_subnets claim
  • internal/instance: Tweak handling of boot.autostart
  • doc: Update configs
  • incusd/instances: Support last-state value for boot.autostart
  • incusd/network/physical: Allow parent re-use for bridges
  • Translated using Weblate (Italian)
  • Translated using Weblate (Italian)
  • Translated using Weblate (Swedish)
  • Translated using Weblate (Swedish)
  • Translated using Weblate (Tamil)
  • Translated using Weblate (Dutch)
  • Translated using Weblate (Dutch)
  • Translated using Weblate (Chinese (Traditional Han script))
  • Translated using Weblate (Chinese (Traditional Han script))
  • Translated using Weblate (Spanish)
  • Translated using Weblate (Spanish)
  • Translated using Weblate (German)
  • Translated using Weblate (German)
  • Translated using Weblate (German)
  • Translated using Weblate (German)
  • Translated using Weblate (German)
  • Translated using Weblate (Portuguese (Brazil))
  • Translated using Weblate (Portuguese (Brazil))
  • Translated using Weblate (French)
  • Translated using Weblate (French)
  • Translated using Weblate (French)
  • Translated using Weblate (French)
  • Translated using Weblate (French)
  • Translated using Weblate (French)
  • Translated using Weblate (French)
  • Translated using Weblate (French)
  • Translated using Weblate (Indonesian)
  • Translated using Weblate (Indonesian)
  • Translated using Weblate (Norwegian Bokmål)
  • Translated using Weblate (Norwegian Bokmål)
  • Translated using Weblate (Russian)
  • Translated using Weblate (Portuguese)
  • Translated using Weblate (Japanese)
  • Translated using Weblate (Japanese)
  • Translated using Weblate (Japanese)
  • Translated using Weblate (Chinese (Simplified Han script))
  • Translated using Weblate (Chinese (Simplified Han script))
  • Translated using Weblate (Chinese (Simplified Han script))
  • Translated using Weblate (Chinese (Simplified Han script))
  • Translated using Weblate (Chinese (Simplified Han script))
  • Translated using Weblate (Chinese (Simplified Han script))
  • Translated using Weblate (Chinese (Simplified Han script))
  • Translated using Weblate (Chinese (Simplified Han script))
  • Translated using Weblate (Portuguese)
  • incusd/network/physical: Allow vlan.tagged
  • incusd/device: Add vlan.tagged to physical NICs
  • doc: Update configs
  • incusd/device/nic_physical: Fix internal bridge handling
  • incusd: Add X-Incus-force header for file operations
  • doc/rest-api: Refresh swagger YAML
  • api: file_delete_force
  • doc/network_ovn: Add note about advanced external_interfaces syntax
  • incusd: Parallelize instance startup on daemon start
  • incusd/instance/drivers: Add size parameter to UpdateBlockSize method
  • incusd/storage/drivers: Export roundAbove function
  • incusd/storage/drivers: Add Qcow2Resize and export isQcow2Block function
  • Translated using Weblate (Swedish)
  • incusd/storage: Add support for resizing qcow2 volumes
  • generate-database: Respect "primary" config for Identifier in mappings
  • Added a few more environment variables. PATHEXT and COMPUTERNAME were needed for 'shutdown.exe'. Meanwhile, I've connected as SYSTEM with PsExec to show the environment variables by default and added them.
  • Add pires/go-proxyproto
  • internal/server/endpoints/listeners: Use new proxyproto package
  • generate-database: fix import type for association tables
  • incusd/instance/drivers: Fix adding disk with a device name longer than 31 bytes
  • incusd/instance/drivers: Add tests for hashName
  • shared/validate: Don't allow $ in API names
  • Translated using Weblate (Japanese)
  • shared/util: Add SingleQuote
  • incusd/instance/lxc: Use SingleQuote instead of Quote
  • incusd/device/disk: Use isRequired
  • incusd/device/disk: Move check for attached property
  • incusd/device/disk: Handle required=false on custom volumes
  • incusd/api_internal: Block instance hooks until daemon is ready
  • incusd/instance_console: Align cleanup logic with exec
  • incusd: pass firmware opt from device/pci to instance/qemu
  • incusd/device: Move reusable code into getNumaNodeSet helper
  • incusd/network: Add SRIOVCountFreeVirtualFunctions
  • incusd/device: Add support for nic SR-IOV selection by vendorid, productid and pci
  • doc: Update configs
  • api: Add 'nic_sriov_select_ext' extension
  • incusd/storage/drivers: Allow setting 'vg_name' for non-clustered LVM during init
  • doc: Fix build failure
  • incus: Implement "incus wait"
  • i18n: Update translation templates
  • internal/instance: Prevent line breaks in environment variables
  • incusd/instance/drivers: Rename hashName to hashValue
  • incusd/instance/drivers: Hash serial value if it exceeds the maximum length
  • doc/linstor: Add documentation for source parameter.
  • doc: Update configs
  • incusd/network/bridge: Skip dnsmasq on non-routed IPv6
  • Update Rocky Linux instructions
  • incusd/network/zone: Use the standard SOA format
  • incusd/network/zone: Allow setting DNS admin contact
  • doc: Update configs
  • api: network_zones_dns_contact
  • Translated using Weblate (Portuguese)
  • incusd/network: Remove automatic increasing of SR-IOV VF count
  • doc: Add warning about long device names
  • incusd/device/nic: Add attached configuration key
  • incusd/device/nic: Add connected configuration key
  • incusd/instance/qemu: Properly update detached devices
  • incusd/instance/lxc: Properly update detached devices
  • incusd/device/nic_ovn: Factor common options
  • incusd/device/nic_p2p: Fix boot.priority spelling in gendoc
  • incusd/instance/qemu: Implement NIC connected config key
  • incusd/ip/link: Relax parent detection logic
  • incusd/instance/lxc: Implement NIC connected config key
  • api: nic_attached_connected
  • doc: Update config
  • incusd/instance/lxc: Restrict path of template files and targets
  • tests: Add NIC tests for attached and connected keys
  • Makefile: Bump to Go 1.24.12
  • gomod: Update dependencies
  • mini-oidc: Update for newer Zitadel
  • incusd/cluster: Skip first re-balance
  • incusd/auth/tls: Fix handling of GetPermissionChecker
  • incusd/instance: Report clear error on concurent migrations

ドキュメント

Incus のドキュメントはこちらです:
https://incus-ja.readthedocs.io/ja/latest/ (日本語訳)
https://linuxcontainers.org/incus/docs/main/ (原文)

パッケージ

Incus の開発元は、通常リリースの tarball のみをリリースするため、公式の Incus パッケージはありません。Incus を実行するために使えるオプションを以下にいくつか示します。

Linux 上に Incus サーバーをインストールする

Incus はほとんどの一般的な Linux ディストリビューションで利用できます。インストール手順の詳細は、Incus のドキュメントを参照してください。

https://incus-ja.readthedocs.io/ja/latest/installing/ (日本語訳)
https://linuxcontainers.org/incus/docs/main/installing/ (原文)

Incus クライアントの Homebrew パッケージ

Homebrew 経由で、Linux と macOS 向けにクライアントツールが利用できます。

https://formulae.brew.sh/formula/incus

Incus クライアントの Chocolatey パッケージ

Chocolatey 経由で、Windows ユーザー向けにクライアントツールが利用できます。

https://community.chocolatey.org/packages/incus/6.21.0

Incus クライアントの Winget パッケージ

Winget 経由で、Windows ユーザー向けにクライアントツールが利用できます。

https://winstall.app/apps/LinuxContainers.Incus

サポート

月次のフィーチャーリリースは、次のリリースがリリースされるまでのみサポートされます。より長いサポート期間と少ない変更頻度が必要な場合、代わりに Incus 6.0 LTS の使用を検討すべきです。

コミュニティサポートはこちらから : https://discuss.linuxcontainers.org
商用サポートはこちらから : https://zabbly.com/incus
バグはこちらから報告できます : https://github.com/lxc/incus/issues