Oxcart ダウンロード
メニュー

MacでDev ContainersとTestcontainersを使う

プロジェクト環境を揃え、統合テストを素早く。Oxcartは、使い慣れたDockerツールを通じてAppleシリコンMac上でDev ContainersとTestcontainersを実行します。API経由の作成は1回2.5 ms、20コンテナの破棄は77 msで、テストした3つのランタイムの中で最速でした。使い捨てのテスト環境でも待ち時間を抑えられます。

更新日

テストでエンジンが重要な理由

Testcontainersのテストスイートは、テストクラス用に実際のPostgres、Kafka、Redisを起動し、終わると破棄します。Dev Containerはプロジェクトのツールチェーン全体を再ビルド・再起動します。どちらも、作成、起動、停止、削除というコンテナのライフサイクル呼び出しを何度も繰り返すために時間を使います。これらはOxcartが最速の処理です。

テストスイートのコンテナライフサイクル呼び出しをOxcartで測定
操作Oxcart 0.1.2次点との比較
API による作成(CLI なし)2.5 ms7×
API による起動18.5 ms2.1×
API による停止4.0 ms21×
20個のコンテナを作成・起動0.69 s2.5×
20個のコンテナを停止・削除77 ms8.9×
docker run --rm … true42 ms3.4×

Oxcart 0.1.2は2026-10-10に同梱のdocker 29.9クライアントで測定しました。他のランタイムは同日のそれ以前に、同じMacと測定ハーネスでdocker 29.4を使って測定しました。Apple M5 Max、各8 CPU・12 GiB、ランタイムを1つずつ実行、5回測定の中央値です。全データは比較ページをご覧ください。

Dev ContainersとTestcontainersをOxcartに接続する

  1. Oxcartをインストールして開きます。 セットアップはoxcartというDockerコンテキストを作ります。ほかのものが使われていない場合にだけ現在のコンテキストにするので、docker context showで確認してください。
  2. dockerコマンドの接続先をOxcartにします。 docker context use oxcartを実行するか、Settings › Command line toolsのUse Oxcart for the docker commandをオンにします。オフにすると以前のコンテキストに戻ります。
  3. テストフレームワークにソケットを渡します。 DockerコンテキストではなくDOCKER_HOSTを読むツールには、コンテキストから値をエクスポートします:export DOCKER_HOST=$(docker context inspect oxcart --format '{{.Endpoints.docker.Host}}')。
  4. テストを実行します。 いつもどおりテストスイートを実行します。TestcontainersはDocker Engine APIを使ってコンテナを作成、起動、削除します。
  5. Dev Containerを開きます。 プロジェクトをそのDev Containerで開くか、Dev Containers CLIでdevcontainer up --workspace-folder .を実行します。

Testcontainers

Testcontainersライブラリ(Java、Go、Node、Python、.NETなど)は、docker CLIではなくDocker Engine APIと直接通信します。OxcartはAPIバージョン1.54をネゴシエートし、1.40〜1.54を受け付けるため、現在のTestcontainersリリースはソケットを見つけられれば特別な設定なしで接続できます。

ソケットを見つける

Testcontainersは最初にDOCKER_HOSTを確認します。Oxcartのソケットはプライベートな状態フォルダー内にあり、モードは0600、パスはoxcart Dockerコンテキストに保存されています。シェルごとに1回エクスポートするか、IDEのテスト設定で指定します。

export DOCKER_HOST=$(docker context inspect oxcart --format '{{.Endpoints.docker.Host}}')
./gradlew test        # or: mvn verify, go test ./..., pytest, npm test

ヘルパーコンテナとコンテナ内のソケット

Testcontainersは、テストがクラッシュした後の片付けを行う小さなヘルパーコンテナを起動します。また、構成によってはテスト自体をコンテナ内で実行します。どちらもDockerソケットをマウントします。Oxcartでは-v /var/run/docker.sock:/var/run/docker.sockにより、コンテナがLinux側の内部から同じDocker APIを使えるので、ヘルパーコンテナ、docker-outside-of-docker、Portainer、Traefikが期待どおりに動きます。ツールがMac側のDOCKER_HOSTパスをコンテナにマウントしようとする場合は、Testcontainers標準のTESTCONTAINERS_DOCKER_SOCKET_OVERRIDEで/var/run/docker.sockをマウントするよう指定します。

Dockerfileからビルドするイメージ

Testcontainersはテスト内のDockerfileからイメージをビルドできます(ImageFromDockerfileや各言語の相当機能)。これにはEngine APIのビルドエンドポイントを使います。OxcartはBuildKitで処理し、tarコンテキスト(非圧縮・gzip)、ビルド引数、ラベル、複数のタグに対応します。

Dev Containers

Dev Containerはプロジェクトのツールチェーンをコンテナで定義します。Dev Containersのツール(VS Code拡張機能、devcontainer CLI、それを使うエディタ)はdocker CLIでビルド・実行します。現在のコンテキストがoxcartなら、接続先はOxcartです。

ツールチェーンと関連サービスを揃えてプロジェクトを開きます。Dev Containers CLIは、PostgresやRedisなどのサービスとともにワークスペースを起動します。rootではないnodeユーザーでワークスペースを編集でき、プロジェクトの作成後スクリプトが依存関係を準備します。チームメンバーも同じ設定から同じ環境を得られます。

npm install -g @devcontainers/cli
devcontainer up --workspace-folder .
devcontainer exec --workspace-folder . bash

AppleシリコンでDev Containersを使うヒント

  • アーキテクチャ:多くのDev Containerベースイメージにarm64版があります。amd64専用イメージはOxcartがRosettaで実行します。AppleシリコンでDocker Composeを使うをご覧ください。
  • 依存関係はボリュームへ:node_modules、パッケージキャッシュ、データベースのデータは名前付きボリュームに置き、ソースはバインドマウントされたワークスペースに残します。
  • ファイル監視:Macでの編集はコンテナ内でinotifyイベントを発生させないため、コンテナ内の監視ツールではポーリングを使います。
  • コーディングエージェント:Dev Container内で動くエージェントのシェルはプロジェクトのコンテナ内に留まります。Mac上のエージェントは、OxcartのMCPサーバーからDev Containerのサービスを確認できます(AIコーディングエージェント向けDocker)。

意図せず切り替わらないDockerコンテキスト

Oxcartはセットアップ時にoxcartコンテキストを作成し、既存の利用に影響しない場合にだけ切り替えます。具体的には、現在のコンテキストがdefaultで、そのソケットが応答しない場合です。それ以外は現在のコンテキストを維持します。Settings › Command line toolsのUse Oxcart for the docker commandを使うとoxcartに切り替え、以前のコンテキストを記憶します。オフにすると元に戻ります。OxcartはMac上の/var/run/docker.sockを作成・置換せず、APIをTCPで公開することもありません。

よくある質問

AppleシリコンMacのOxcartでTestcontainersは使えますか?

はい。Testcontainersは、Oxcartが実装するDocker Engine API(バージョン1.40〜1.54)と通信します。Dockerfileからのイメージ作成に使うビルドエンドポイントも含まれます。また、Testcontainersのヘルパーコンテナが想定する/var/run/docker.sockにDockerソケットをマウントできます。

Testcontainers用のDOCKER_HOSTを設定するには?

oxcart Dockerコンテキストから取得します。docker context inspect oxcart --format '{{.Endpoints.docker.Host}}'がunix://パスを出力するので、シェルやIDEのテスト実行設定でDOCKER_HOSTとしてエクスポートしてください。

Oxcartで統合テストが速くなるのはなぜですか?

テストスイートは、コンテナの作成、起動、停止、削除に多くの時間を使います。同じMacでOxcartは、API経由の作成が1回2.5 ms、起動が18.5 ms、停止が4.0 ms、20コンテナの停止・削除が77 msでした。すべての項目で、テストした3つのランタイムの中で最速でした。

VS Code Dev ContainersはOxcartで使えますか?

Dev Containers CLI 0.89.0は、Oxcart上で実際の複数サービス構成をビルド・起動し、PostgresとRedisは正常、ワークスペースはコンテナユーザーが書き込み可能でした。Dev Containersのツールはdocker CLIを操作するので、oxcartコンテキストでCLIの接続先をOxcartにしてください。

Dev Containerでdocker-outside-of-dockerは使えますか?

はい。/var/run/docker.sockをコンテナにマウントすると、その中のdocker CLIが同じエンジンと通信します。このソケットからOxcartのプライベートエンドポイントへのアクセスは拒否されるため、コンテナはほかのコンテナを管理できますが、Oxcart自体の内部にはアクセスできません。

OxcartはMacの/var/run/docker.sockを置き換えますか?

いいえ。OxcartはMac上の/var/run/docker.sockを作成・置換しません。クライアントはoxcart Dockerコンテキスト、またはそのコンテキストが示すソケットパスを使って接続します。

出典と測定方法

  • 互換性:Oxcartで検証済みの連携(docker-pyとTestcontainersが使うEngine APIビルド、Dev Containers CLI 0.89.0、コンテナ内Dockerソケット)とAPIバージョン範囲。
  • Dockerコンテキストの選択とコマンドラインの設定:出荷版Oxcartに基づきます。
  • 速度の数値:Oxcart 0.1.2、2026-10-10、Apple M5 Max、8 CPU・12 GiB。他のランタイムは同日のそれ以前に、同じMacと測定ハーネスでdocker 29.4クライアントを使って測定しました。

自分のプロジェクトで Oxcart を試す

60 日間無料。その後は 1 つのライセンスで、すべてのアップデートを永続的に利用できます。サブスクリプションではありません。

Apple silicon 搭載 Mac · Windows 11 (x64)

次に読む

リリースノート

Oxcart 26.11.6

最新リリース

Containers see the changes you make to files on your Mac as they happen.

  • Edit a file in a shared folder on your Mac, and tools that watch it in a container, such as Vite, webpack and nodemon, reload right away. Polling is not needed.
  • When no containers are running and you haven't used Docker for two minutes, Oxcart gives the memory it was using back to macOS. The next docker command starts it again in under a second. This doesn't happen while Kubernetes is turned on.
  • You can bring your images, volumes and networks over from another Docker app. Choose Import from Another Runtime… in the More (…) menu on the Containers page, or run oxcart import. Containers themselves aren't copied: start them again with docker compose up -d or docker run, and they use the imported volumes and networks.
  • Bug fixes and optimizations.
  • Updated Linux and system components, with the latest security fixes. A Windows virtual machine that is suspended when you update starts fresh afterwards.

macOS 26.0以降が必要です

Oxcart 26.11.5

You can now turn on GPU acceleration for a Windows 11 virtual machine you already have.

  • Open the virtual machine's settings and turn on GPU acceleration under Display. Oxcart restarts Windows once, and the Windows desktop and Direct3D 10 and 11 apps then render on your Mac's GPU.
  • Turning GPU acceleration off puts back the standard display driver, and suspending works again.

macOS 26.0以降が必要です

Oxcart 26.11.4

Bug fixes and optimizations.

  • Virtual machines start again after updating Oxcart while it is open.

macOS 26.0以降が必要です

Oxcart 26.11.3

Windows virtual machines can now use your Mac's GPU.

  • Turn on GPU acceleration when you create a Windows 11 virtual machine, on the first step of New Virtual Machine. The Windows desktop and Direct3D 10 and 11 apps then render on your Mac's GPU instead of its processor.
  • A virtual machine with GPU acceleration can't be suspended or snapshotted while it runs. Shut it down instead. Existing virtual machines are not changed.
  • GPU acceleration is new. After a lot of opening and closing windows, the Windows screen can go black for about a second while Oxcart frees graphics memory.
  • Updated Linux and system components, with the latest security fixes.

macOS 26.0以降が必要です

Oxcart 26.11.2

Oxcart can now run Kubernetes for you.

  • Turn on Kubernetes in Settings › Resources to get a local single-node cluster that kubectl can use right away.
  • Services in the cluster are reachable from your Mac at 127.0.0.1, and images you build with Docker run in the cluster without pushing them to a registry.
  • Updated Linux and system components, with the latest security fixes.

macOS 26.0以降が必要です

Oxcart 26.11.1

Bug fixes and optimizations.

  • A simpler toolbar in the VM window.
  • Updated Linux and system components, with the latest security fixes.

macOS 26.0以降が必要です

Oxcart 26.11.0

Clearer Windows audio, a network that comes back, and a VM toolbar that stays out of your way.

  • Clear Windows audio. Choppy, garbled sound in Windows VMs is fixed.
  • Networking that recovers. Turn a Windows VM's network off and on again, and it reconnects without a restart.
  • A toolbar that stays out of the way. It no longer covers the top of your VM. Move the pointer to the top center and click the small tab when you want it.
  • Simpler Oxcart Tools for Windows. One CD now holds everything, and the installer handles the drivers and any restart for you.
  • A more dependable clipboard in Windows VMs.
  • A license agreement to accept the first time you open Oxcart on your Mac.
  • Updated Linux, container and Docker components, with the latest security fixes.

macOS 26.0以降が必要です

Oxcart 26.10.0

Virtual machines are here. Windows 11, Linux and macOS run on your Mac, built into Oxcart beside your containers and covered by the license you already have.

  • Windows 11 in about 5 minutes, hands off. Choose your Windows 11 ARM installer and walk away: Oxcart installs Windows, its drivers and Oxcart Tools by itself, on a VM with real TPM 2.0 and Secure Boot. You bring the installer and the license.
  • Linux in under a minute. Ubuntu, Debian and Fedora start with your Mac username, your SSH key and passwordless sudo already set up; Fedora is ready in about 30 seconds. Every further VM from the same image starts from an instant copy that takes only the space it changes. Ubuntu Desktop, Fedora Workstation and any arm64 Linux installer work too.
  • macOS on macOS. Oxcart restores the newest macOS your Mac supports and, with Automatic setup, creates your account and installs Oxcart Tools.
  • Every VM is a real Mac app. Each one has its own window, Dock icon and ⌘-Tab entry, and keeps running after you quit Oxcart. The Retina display follows the window as you resize it or go full screen, ⌘C and ⌘V work in Linux and Windows, and text, images and files move between your Mac and the guest by copy, paste and drag.
  • Snapshots that capture the moment. Snapshot a running VM with its open apps and return to that exact moment later. Snapshots and clones take almost no space until the guest changes, and a restore lands whole even if your Mac loses power halfway.
  • Your Mac's folders, network and USB. Share Mac folders with any guest, reach your Mac by name and publish ports from the VM. Hand a USB device to Windows for flashers, programmers and dongles; development boards' serial ports show up in Windows under their own IDs.
  • First-class for coding agents. VMs join containers in Oxcart's MCP server with 22 tools of their own, so an agent you connect can create, start, snapshot and clone VMs, run commands and copy files in the guest, forward ports, connect USB devices and disk images, and read the screen and type in any guest, even one without Oxcart Tools, all within the permission level you set for each agent. The oxcart vm command covers every operation, with JSON output for scripts and CI.
  • Encrypted VMs, when you want them. Keep a VM's disks and secrets behind a password of your own, with AES-256 encryption built into Oxcart, so an encrypted disk flushes as fast as a plain one.
  • Disk space you can see. Choose where a VM lives, on your Mac or an external drive, and see what it takes now and what it can grow to against the space you have. Reclaim Space hands back what a guest frees right away, and Disk Usage shows each downloaded system so you can remove the ones you no longer need.
  • VMs that move with you. Each VM is a single item in Finder you can keep on any drive. Export it as one .oxvm file to another Mac, and bring over Linux and macOS VMs from another Mac virtualization app.
  • Ready when you are. Chosen VMs start when you log in, run headless with no window at all, and suspend when you close them, so you pick up exactly where you left off.
  • Oxcart Help. Help › Oxcart Help (⌘?) explains every setting, what it does and what changing it affects, with a ? beside each one. Coding agents read the same help through MCP.
  • More reliable published ports. A container connection that a service closes mid-transfer now ends cleanly instead of waiting.
  • New version numbers. Releases are now numbered by year and month, so this one is 26.10.0.

macOS 26.0以降が必要です

Oxcart 0.1.8

OxcartがWindowsに対応。すべてのアップデートを永続的に受けられます。

  • OxcartがWindowsでも動作するようになりました。1つのライセンスで、MacとWindowsを自由に組み合わせて最大5台のデバイスで利用できます。
  • すべての更新を、ずっと利用できます。
  • 2026年12月31日まで、Oxcartの価格は$5です。
  • コーディングエージェントがコンテナを調べ、リアルタイムの統計とリソースの逼迫状況を確認し、ログを追跡し、時間のかかるプルやビルドの進行状況を把握し、設定された制限内でコンテナを実行できるようになりました。
  • コンテナを再作成しても、ボリュームとネットワークエイリアスは保持されます。
  • Oxcartのヘルパーが「ログイン項目」にOxcartとして表示されます。
  • 全体的に信頼性を改善しました。

macOS 26.0以降が必要です

Oxcart 0.1.7

共有フォルダとネットワークを高速化。コンテナの環境も編集できます。

  • 共有フォルダを大幅に高速化しました。共有フォルダでのリポジトリのクローン、パッケージのインストール、ビルドが最大3×の速度で行えます。
  • ネットワークを高速化しました。公開ポートとコンテナ接続で、CPU使用量を抑えながら従来の2倍近くのデータを転送できます。
  • 暗号化は必要に応じて。Macとコンテナ間の通信は、任意で暗号化できます。Settings › Resources › Encrypt container connectionsで有効にしてください。
  • 環境変数の確認と変更が簡単になりました。コンテナのOverviewで変数を確認し、Edit and Recreateで変更できます。.envファイル全体を一度に貼り付けることもできます。
  • Run Containerシートの操作を改善しました。Returnキーでコンテナを起動せず、次の行へ移動できるようになりました。
  • トラブルシューティングをわかりやすくしました。VPNやファイアウォールが接続を遅くしている場合、Oxcartが知らせます。
  • 共有フォルダの信頼性を改善しました。権限エラーを正しく報告し、Macでの変更後も最新の内容を反映します。

macOS 26.0以降が必要です

Oxcart 0.1.6

コーディングエージェントが見つけた問題を修正できます。各所の不具合修正とセキュリティ強化も行いました。

  • 新しく追加したエージェントは、Mac上にあるイメージを使って、コンテナの起動・停止・再起動、コンテナ内でのコマンド実行、Composeプロジェクトの起動ができます。プル、ビルド、削除にはFull権限が必要です。MCP Integrationsでエージェントごとに設定できます。
  • セットアップ時に、各エージェントですぐに使える設定項目が作成されます。oxcart mcp checkで動作を確認できます。
  • より的確な回答が得られます。エージェントは、依存先の停止がサービス停止の原因かどうか、Webページが実際に読み込めるかどうか、障害の原因と修正方法を確認できます。
  • Start at loginを有効にすると、ログイン時にOxcartがメニューバーで起動し、すぐに使えます。
  • Oxcartは起動時にアップデートを確認し、oxcart.ccへ短いチェックインリクエストを送信します。Settings › Privacyで、その内容をすべて確認できます。
  • コンテナは起動直後から、同じネットワーク内のほかのサービスを見つけられます。
  • 特権コンテナ、Rosettaのチェック、セットアップ時の安全対策に関する不具合を修正しました。
  • Oxcartアプリは、データの削除や実行中の作業を停止する操作の前に確認を求めます。
  • 全体的にセキュリティを強化し、信頼性を改善しました。

macOS 26.0以降が必要です

Oxcart 0.1.5

OxcartでローカルのKubernetesと特権コンテナを実行できます。10言語に対応しています。

  • Settings › Resources › Kubernetes and networkingで特権コンテナを有効にすると、kind、k3d、minikube(Dockerドライバー)、Docker-in-Dockerを実行し、docker run --privilegedと--deviceを使用できます。デフォルトでは無効です。Oxcartの保護機能は、すべてのコンテナからOxcartのディスク、カーネル、ほかのコンテナのデータ、Macへの通信経路へのアクセスを防ぎます。
  • IPv6コンテナネットワークに対応しました。こちらもデフォルトでは無効で、kindのデュアルスタックネットワークなど、IPv6を有効にして作成したネットワークで使用できます。
  • Oxcartを簡体字中国語、日本語、ドイツ語、フランス語、スペイン語、ブラジルポルトガル語、韓国語、ロシア語、トルコ語に翻訳しました。Settings › General › Languageの設定はOxcartにのみ適用されます。

macOS 26.0以降が必要です

Oxcart 0.1.4

ライセンス機能と各種改善。

  • メールの安全なリンクによるライセンスの有効化。
  • SettingsからライセンスとMacを管理。
  • ライセンスのオフライン検証。
  • パフォーマンス改善、UIの調整、不具合修正。

macOS 26.0以降が必要です

Oxcart 0.1.3

アイドル時のメモリ回収。

  • コンテナが実行されていないときに、VMのメモリを回収。
  • コンテナ、イメージ、ボリューム、ネットワークを保持。

macOS 26.0以降が必要です

Oxcart 0.1.2

コマンドラインツールの統合。

  • Oxcart付属のDockerツールと、すでにインストールされているDockerツールを切り替え。
  • UIの調整。

macOS 26.0以降が必要です

Oxcart 0.1.1

同梱のDockerツールとエージェントの制御。

  • Docker CLI 29.9、Compose 5.6、Buildx 0.38を同梱。
  • Dockerコンテキストとの連携と、キーチェーンでの認証情報の安全な保管。
  • MCPエージェントの接続と、エージェントごとの権限設定・ブロック。

macOS 26.0以降が必要です

Oxcart 0.1.0

Appleシリコン向けのDocker互換コンテナ。

  • Docker CLI、Compose、Buildxとの互換性。
  • 実行環境のコンポーネントを同梱し、オフラインでセットアップ可能。
  • プロジェクトとGitブランチごとにポートを整理。
  • デフォルトで読み取り専用のMCP連携。
  • 検証済みの自動アップデート。

macOS 26.0以降が必要です