AppleがMacでOCI準拠のLinuxコンテナを作成/実行できるオープンソースのCLIツール「container v0.3.0」をリリースしています。詳細は以下から。
![]()
Appleは2025年06月に開催したWWDC25の中で、次期「macOS 26 Tahoe」を発表すると共に、macOS 11 Big Surから導入している仮想化フレームワーク「Virtualizationフレームワーク」をバックエンドとした「Containerizationフレームワーク」を発表。

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

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.
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
- apple/container – GitHub
- apple/containerization – GitHub


コメント