Apple、MacでOCI準拠のLinuxコンテナを作成/実行できるオープンソースのCLIツール「container v0.3.0」をリリース。コンテナ内でのネスト仮想化やローカルホスト上でTCP/UDPポートの公開をサポート。

Apple container v0.3.0 macOS 26 Tahoe
Apple container v0.3.0
記事内に広告が含まれています。This article contains advertisements.
スポンサーリンク

 AppleがMacでOCI準拠のLinuxコンテナを作成/実行できるオープンソースのCLIツール「container v0.3.0」をリリースしています。詳細は以下から。

Containerizationフレームワーク

 Appleは2025年06月に開催したWWDC25の中で、次期macOS 26 Tahoeを発表すると共に、macOS 11 Big Surから導入している仮想化フレームワークVirtualizationフレームワークをバックエンドとしたContainerizationフレームワークを発表。

Containerizationフレームワーク

 このContainerizationフレームワークを利用した「container」コマンドは、Macで軽量Linu仮想マシンを作成、その上でOCI準拠のLinuxコンテナを作成/実行できるオープンソースのCLIツールとして公開されていますが、このcontainerの最新バージョンとなる「container v0.3.0」がリリースされています。

Apple container v0.3.0

Apple container v0.3.0

container v0.3.0

 Appleはcontainer v0.3.0以降、月サイクルでcontainerをマイナーアップデート(v0.4.0, v0.5.0,…)していくとコメントする一方、container v0.3.0では既知のパスにプラグインを配置することで自動認識されるようになった他、コンテナ内でのネスト仮想化が可能になり、container v0.2.0でサポートされたネットワーク設定でローカルホスト上でのTCPとUDPポートの公開がサポートされているそうです。

nested virtualization

container run --name nested-virtualization --virtualization --kernel /path/to/a/kernel/with/virtualization/support --rm ubuntu:latest sh -c "dmesg | grep kvm"

 ただし、ネスト仮想化はApple M3チップ以降のMacとmacOS 15 Sequoia以降のApple Virtualization Framework (AVF)で導入された機能なので、利用される利用環境に注意してください。

A Boolean value that describes whether the platform configuration supports nested virtualization.

A Boolean value that describes whether the platform configuration supports nested virtualization.

Highlights

  • Core
    • Enumerate a well known path where user-installed plugins can be found
    • Fix output of plugin details in CLI help
    • Fix handling of process options in container create
    • Enable nested virtualization in containers
    • Several fixes for thread safety
  • Network
    • Publish TCP and UDP ports on localhost
  • Builder
    • Fixed build hangs/crashes
    • Use previous build stage names as image in subsequent FROM statements
    • Fix output for builds with –output type=tar
    • Support building with –output local
    • Improved options for specifying build platforms

コメント

タイトルとURLをコピーしました