Oxcart ダウンロード
メニュー

AppleシリコンでDocker Compose:amd64イメージ、Rosetta、ヘルスチェック

Docker ComposeはAppleシリコンMacでネイティブに動きます。arm64イメージがあれば使い、なければplatform: linux/amd64を指定して、up --waitでヘルスチェックを待ちます。OxcartはCompose 5.6、docker CLI、Buildxを同梱し、Rosetta経由でamd64イメージを実行します。テストした3つのランタイムの中で、ビルドとコンテナのライフサイクル操作が最速でした。

更新日

まずarm64、必要なときにamd64

MシリーズMacではarm64 Linuxカーネル上でLinuxコンテナを実行します。マルチアーキテクチャイメージ(postgres、redis、node、pythonなど多くの公式イメージ)をpullすると、Dockerが自動でarm64版を選び、ネイティブの速度で動きます。

古い社内イメージ、ベンダーツール、Intelノートパソコンやプラットフォーム指定なしのCIランナーで作ったイメージなど、amd64版しかないものもあります。その場合は明示的に指定します。

services:
  legacy-tool:
    image: example/amd64-only-tool:1.4
    platform: linux/amd64

OxcartはAppleのx86-64変換技術Rosettaでamd64イメージを実行します。Buildxでamd64イメージをビルドしてロードし、エンジンでローカル実行することもできます。docker run --rm --platform linux/amd64 alpine uname -mでコンテナの実際のアーキテクチャを確認でき、x86_64と表示されます。

サービスごとにプラットフォームを選ぶ
状況対応
イメージにarm64版がある対応不要。Composeがarm64版をpullします。
イメージがamd64専用サービスにplatform: linux/amd64を追加します。
amd64サーバーにデプロイするpushするイメージはdocker buildx build --platform linux/amd64でビルドします。スタックが対応していれば、ローカル作業はarm64のままで構いません。
"exec format error"バイナリとコンテナのアーキテクチャが一致していません。プラットフォームを指定するか、arm64向けに再ビルドします。

一通りの例

Postgresデータベース、現在のフォルダーからビルドしてデータベースの正常性を待つAPI、プロファイルで有効にするamd64専用ツールの例です。

services:
  db:
    image: postgres:17-alpine
    environment:
      POSTGRES_PASSWORD: dev
    volumes:
      - pgdata:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U postgres"]
      interval: 2s
      timeout: 3s
      retries: 15

  api:
    build: .
    init: true
    environment:
      DATABASE_URL: postgres://postgres:dev@db:5432/postgres
    ports:
      - "127.0.0.1:8080:8080"
    depends_on:
      db:
        condition: service_healthy

  legacy-tool:
    image: example/amd64-only-tool:1.4
    platform: linux/amd64
    profiles: ["tools"]

volumes:
  pgdata:

各設定の役割:

  • healthcheckは、Postgresが起動しただけでなく、実際に接続を受け付けるようになったことをComposeに伝えます。
  • depends_on: condition: service_healthyは、そのチェックが通るまでAPIを待機させます。
  • init: trueは小さなinitをPID 1として実行し、プロセスにシグナルを届け、ゾンビプロセスを回収します。これによりdocker stopはタイムアウトを待たずに正常終了します。
  • 127.0.0.1:8080:8080はMacのループバックだけにAPIを公開します。アドレスを指定しないと、MacのすべてのIPv4アドレスで待ち受け、同じネットワーク上のほかのマシンからもアクセスできます。
  • pgdataは名前付きボリュームです。データはdocker compose down後も残り、down -vでのみ削除されます。

AppleシリコンでComposeスタックを動かす

  1. ツールを確認します。 docker compose versionとdocker context showを実行します。OxcartはDocker Compose 5.6.0、docker CLI 29.9.0、Buildx 0.38.0を同梱し、コンテキスト名はoxcartです。
  2. composeファイルを書きます。 アプリが待つ必要のあるすべてのサービスにhealthcheckを設定し、依存する側はdepends_on: condition: service_healthyで待機させます。
  3. 起動して正常性を待ちます。 docker compose up -d --build --waitを実行します。すべてのサービスが稼働して正常になるとコマンドが戻り、そうでないサービスがあれば失敗します。
  4. ポートを確認します。 docker compose psを実行するか、OxcartのPorts画面を開きます。各公開ポートが準備完了、待機中、失敗のどれかを理由とともに表示します。
  5. 変更を繰り返します。 コードを編集してdocker compose up -d --build apiを実行します。変更のないビルドステップはキャッシュから取得されます。
  6. 片付けます。 docker compose downでコンテナを停止・削除します。名前付きボリュームも削除するならdocker compose down -vを実行します。

再ビルドを高速に

ComposeはBuildxとBuildKitを通じてビルドします。Dockerfileでは依存関係のインストールをCOPY . .より前に置くと、コード変更時にその上のキャッシュ済みレイヤーをすべて再利用できます。Oxcartでは、ベンチマークプロジェクトのキャッシュありビルドは121 ms、ローカルコンテキストを使うキャッシュなしビルドは341 msで、どちらもテストした3つのランタイムの中で最速でした。短い反復作業の差が積み重なります。docker run --rmは42 ms、20コンテナの停止・削除は77 msでした。

Oxcart 0.1.2は2026-10-10に同梱のdocker 29.9クライアントで測定しました。他のランタイムは同日のそれ以前に、同じMacと測定ハーネスを使い、docker 29.4で測定しました。Apple M5 Max、各8 CPU・12 GiB、ランタイムを1つずつ実行。

ポート、Mac、ほかのサービス

  • ポートの構文はDockerと同じです。TCPとUDP、一時ポート("127.0.0.1::8080")、IPv4とIPv6で待ち受ける"[::]:8080:80"に対応します。TCPとUDPは同じホストポート番号を共有できます。
  • コンテナからMacへ:host.docker.internalを使うと、コンテナやビルドステップからTCPでMacの127.0.0.1にバインドされたサービスにアクセスできます。
  • ローカルレジストリ:レジストリコンテナをポート5000で公開すると、docker push localhost:5000/appでアクセスできます。
  • サイドカー:network_mode: service:apiはコンテナを別のサービスのネットワーク名前空間に入れ、そのサービスのlocalhostを共有させます。

VPN、DNS、ファイアウォール、ネットワーク経路の保護については、Macのコンテナネットワークをご覧ください。

名前付きボリュームとバインドマウント

データベースやビルドで頻繁に書き込むものには名前付きボリュームを使います。node_modules、パッケージキャッシュ、データベースファイルなどです。データはエンジン自身のストレージ内に保存されます。Oxcartの名前付きボリュームでは、小さなファイルの作成・stat・読み取り・削除を1,000回行う処理が17.8 msで完了し、テストした3つのランタイムの中で最速でした。

Macで編集するソースコードにはバインドマウントを使います。Oxcartは既定でホームフォルダー、/private/tmp、/private/var/foldersを読み書き可能でコンテナと共有します。Macでの編集はコンテナに、コンテナでの変更はMacに反映されます。ただし、Macで行ったファイル変更はコンテナ内でinotifyイベントを発生させません。コンテナ内のファイル監視でエディタの変更を検出する必要がある場合は、ポーリングを使ってください。

トラブルシューティング

AppleシリコンMacでよくあるComposeの問題
症状原因対処
exec format errorarm64コンテナ内のamd64バイナリ、またはその逆platform: linux/amd64を指定、またはarm64向けに再ビルド
"no matching manifest for linux/arm64"イメージにarm64版がないplatform: linux/amd64
"address already in use"別のプロセスやコンテナがホストポートを使用中ホストポートを変更するか、OxcartのPorts画面で使用者を確認
公開ポートで接続が拒否されるコンテナ内のサーバーが127.0.0.1で待ち受けている、またはまだ待ち受けていない0.0.0.0で待ち受け、ヘルスチェックを追加して--waitを使う
データベースの準備前にアプリが起動する条件のないdepends_onは起動だけを待つcondition: service_healthyとhealthcheckを組み合わせる
docker stopで10 s待たされるPID 1がSIGTERMを無視するinit: trueを使うか、アプリでSIGTERMを処理する

よくある質問

Docker ComposeはAppleシリコンMacで使えますか?

はい。Composeはarm64でネイティブ実行でき、多くの公式イメージにarm64版があります。OxcartはDocker Compose 5.6.0を同梱し、複数サービス、ヘルスチェックによる依存関係、up --wait、build、down、サービス名DNS、init: true、network_mode: service:の互換性を確認しています。

MシリーズMacでamd64(x86-64)イメージを実行するには?

サービスにplatform: linux/amd64を設定するか、docker runに--platform linux/amd64を渡します。OxcartはRosetta経由でamd64イメージを実行します。arm64ネイティブイメージがあれば優先し、arm64ビルドのないイメージにamd64を使ってください。

「exec format error」とは何ですか?

コンテナの実行アーキテクチャとは異なるCPU向けにビルドされたバイナリを実行しようとしています。通常は、イメージや内部のバイナリがamd64専用です。そのサービスにplatform: linux/amd64を追加するか、arm64向けにイメージを再ビルドしてください。

コンテナが動いているのに「connection refused」と出るのはなぜですか?

最も多い原因は、コンテナ内のサーバーが127.0.0.1で待ち受けていることです。公開ポートはループバックではなくコンテナのネットワークインターフェースに届くため、サーバーは0.0.0.0で待ち受ける必要があります。OxcartのPorts画面は、この状態を明示します。

別のサービスの準備ができるまで待たせるには?

依存先にhealthcheckを追加し、依存する側にdepends_on: { db: { condition: service_healthy } }を設定します。するとdocker compose up --waitは、すべてのサービスが正常になってから戻ります。

コンテナからMac上のサーバーにアクセスできますか?

はい。host.docker.internalを使います。Oxcartでは、コンテナやビルドからTCPでMacの127.0.0.1にバインドされたサービスにアクセスできます。

データベースには名前付きボリュームとバインドマウントのどちらを使うべきですか?

データベースのデータには、エンジン自身のストレージ内に保存する名前付きボリュームを使います。Macで編集するソースコードにはバインドマウントを使います。Oxcartの名前付きボリュームでは、小さなファイルの作成・stat・読み取り・削除を1,000回行う処理が17.8 msでした。

出典と測定方法

  • 互換性:Oxcartで検証済みの連携(docker CLI、ヘルスチェックによる依存関係を使うCompose、up --wait、init: true、network_mode: service:、Buildx、Rosetta経由のamd64)。
  • 速度の数値:Oxcart 0.1.2、2026-10-10、Apple M5 Max、8 CPU・12 GiB、ウォームアップ後5回測定の中央値。他のランタイムは同日のそれ以前に、同じMacと測定ハーネスでdocker 29.4クライアントを使って測定しました。
  • 同梱ツール:docker 29.9.0、Docker Compose 5.6.0、Buildx 0.38.0。

自分のプロジェクトで 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以降が必要です