Oxcart Download
Menu

Docker Compose on Apple silicon: amd64 images, Rosetta and healthchecks

Docker Compose runs natively on Apple silicon Macs: use arm64 images where they exist, set platform: linux/amd64 for the ones that don't, and gate startup on healthchecks with up --wait. Oxcart ships Compose 5.6 with the docker CLI and Buildx, runs amd64 images through Rosetta, and was the fastest of the three runtimes we tested at builds and container lifecycles.

Updated

arm64 first, amd64 when you must

An M-series Mac runs Linux containers on an arm64 Linux kernel. When you pull a multi-architecture image (postgres, redis, node, python and most official images), Docker picks the arm64 variant automatically, and it runs at native speed.

Some images still ship only for amd64: older internal images, vendor tools, and anything built on an Intel laptop or a CI runner without a platform flag. For those, say so explicitly:

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

Oxcart runs amd64 images through Rosetta, Apple's x86-64 translation, and Buildx can build and load amd64 images that the engine then runs locally. Check what a container actually runs as with docker run --rm --platform linux/amd64 alpine uname -m, which prints x86_64.

Choosing a platform per service
SituationWhat to do
Image publishes arm64Nothing. Compose pulls the arm64 variant.
Image is amd64-onlyAdd platform: linux/amd64 to the service.
You deploy to amd64 serversBuild with docker buildx build --platform linux/amd64 for the image you push; keep arm64 for local work if your stack allows.
"exec format error"A binary does not match the container's architecture. Set the platform or rebuild for arm64.

A complete example

A Postgres database, an API built from the current folder that waits until the database is healthy, and an amd64-only tool behind a profile:

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:

What each part does:

  • healthcheck tells Compose when Postgres is actually accepting connections, not just started.
  • depends_on: condition: service_healthy holds the API until that check passes.
  • init: true runs a tiny init as PID 1, so signals reach your process and zombie processes are reaped. docker stop then ends cleanly instead of waiting for the timeout.
  • 127.0.0.1:8080:8080 publishes the API on your Mac's loopback only. Without an address, a published port listens on all of the Mac's IPv4 addresses and other machines on your network can reach it.
  • pgdata is a named volume: the data survives docker compose down and is deleted only by down -v.

Run a Compose stack on Apple silicon

  1. Check the tools. Run docker compose version and docker context show. Oxcart ships Docker Compose 5.6.0 with the docker CLI 29.9.0 and Buildx 0.38.0, and its context is named oxcart.
  2. Write the compose file. Give every service your app waits on a healthcheck, and make dependents wait with depends_on: condition: service_healthy.
  3. Start and wait for healthy. Run docker compose up -d --build --wait. The command returns once every service is running and healthy, or fails if one is not.
  4. Check the ports. Run docker compose ps or open the Ports view in Oxcart, which shows each published port as ready, pending or failed, with the reason.
  5. Iterate. Edit code and run docker compose up -d --build api. Unchanged build steps come from the cache.
  6. Tear down. Run docker compose down to stop and remove the containers, or docker compose down -v to also delete the named volumes.

Faster rebuilds

Compose builds through Buildx and BuildKit. Order your Dockerfile so dependency installs come before COPY . ., and a code change reuses every cached layer above it. In Oxcart, a cached build of the benchmark project took 121 ms and an uncached build with a local context 341 ms: the fastest of the three runtimes we tested for both. Short inner loops add up: docker run --rm took 42 ms, and stopping and removing 20 containers 77 ms.

Oxcart 0.1.2 measured 2026-10-10 with its bundled docker 29.9 client; the other runtimes measured earlier the same day, on the same Mac and harness, with docker 29.4. Apple M5 Max, 8 CPUs and 12 GiB each, one runtime at a time.

Ports, the Mac, and other services

  • Port syntax is Docker's: TCP and UDP, ephemeral ports ("127.0.0.1::8080"), and "[::]:8080:80" to listen on IPv4 and IPv6. TCP and UDP can share a host port number.
  • The Mac from a container: host.docker.internal reaches services bound to the Mac's 127.0.0.1 over TCP, from containers and from build steps.
  • A local registry: publish a registry container on port 5000 and docker push localhost:5000/app reaches it.
  • Sidecars: network_mode: service:api puts a container in another service's network namespace, so it shares that service's localhost.

For VPNs, DNS, firewalls and how the network path is protected, see Container networking on a Mac.

Named volumes and bind mounts

Use named volumes for anything the database or the build writes heavily: node_modules, package caches, database files. Their data stays inside the engine's storage, and in Oxcart a named volume ran 1,000 small-file create, stat, read and delete operations in 17.8 ms, the fastest of the three runtimes we tested.

Use bind mounts for the source you edit on your Mac. By default Oxcart shares your home folder, /private/tmp and /private/var/folders with containers, read-write; edits made on the Mac show up in containers, and changes made in containers show up on the Mac. One limit to know: file changes made on the Mac do not produce inotify events inside containers, so a file watcher in a container should use polling if it needs to see edits from your editor.

Troubleshooting

Common Compose problems on an Apple silicon Mac
SymptomCauseFix
exec format erroramd64 binary in an arm64 container, or the reverseplatform: linux/amd64, or rebuild for arm64
"no matching manifest for linux/arm64"The image has no arm64 variantplatform: linux/amd64
"address already in use"Another process or container holds the host portChange the host port, or find the owner in Oxcart's Ports view
Connection refused on a published portThe server listens on 127.0.0.1 inside the container, or nothing listens yetListen on 0.0.0.0; add a healthcheck and use --wait
App starts before the database is readydepends_on without a condition only waits for startcondition: service_healthy plus a healthcheck
docker stop waits 10 sPID 1 ignores SIGTERMinit: true, or handle SIGTERM in the app

Questions

Does Docker Compose work on Apple silicon Macs?

Yes. Compose runs natively on arm64, and most official images publish arm64 variants. Oxcart includes Docker Compose 5.6.0, and its compatibility checks cover multiple services, healthcheck dependencies, up --wait, build, down, service-name DNS, init: true and network_mode: service:.

How do I run an amd64 (x86-64) image on an M-series Mac?

Set platform: linux/amd64 on the service, or pass --platform linux/amd64 to docker run. Oxcart runs amd64 images through Rosetta. Prefer a native arm64 image when one exists; use amd64 for images that have no arm64 build.

What does "exec format error" mean?

The container tried to run a binary built for a different CPU architecture than the one the container runs as. Usually an image or a binary inside it is amd64-only. Add platform: linux/amd64 to that service, or rebuild the image for arm64.

Why does my app say "connection refused" when the container is running?

The most common cause is a server listening on 127.0.0.1 inside the container. Published ports reach the container's network interface, not its loopback, so the server must listen on 0.0.0.0. Oxcart's Ports view names this case explicitly.

How do I make one service wait until another is ready?

Add a healthcheck to the dependency and depends_on: { db: { condition: service_healthy } } to the dependent. docker compose up --wait then returns only when every service is healthy.

Can containers reach a server running on my Mac?

Yes. Use host.docker.internal: in Oxcart it reaches services bound to the Mac's 127.0.0.1 over TCP, from containers and from builds.

Should I use named volumes or bind mounts for databases?

Use a named volume for database data: it lives inside the engine's own storage. Use bind mounts for source code you edit on the Mac. In Oxcart, a named volume ran 1,000 small-file create, stat, read and delete operations in 17.8 ms.

Sources and method

  • Compatibility: Oxcart's verified integration paths (docker CLI, Compose with healthcheck dependencies, up --wait, init: true, network_mode: service:, Buildx, amd64 through Rosetta).
  • Speed figures: Oxcart 0.1.2, 2026-10-10, Apple M5 Max, 8 CPUs and 12 GiB, medians of five samples after a warmup; the other runtimes were measured earlier the same day on the same Mac and harness with the docker 29.4 client.
  • Bundled tools: docker 29.9.0, Docker Compose 5.6.0, Buildx 0.38.0.

Try Oxcart on your own projects

Free for 60 days. Then one license, every update for life: not a subscription.

Mac with Apple silicon · Windows 11 (x64)

Read next

Release notes

Oxcart 26.11.6

Latest release

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.

Requires macOS 26.0 or later

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.

Requires macOS 26.0 or later

Oxcart 26.11.4

Bug fixes and optimizations.

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

Requires macOS 26.0 or later

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.

Requires macOS 26.0 or later

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.

Requires macOS 26.0 or later

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.

Requires macOS 26.0 or later

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.

Requires macOS 26.0 or later

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.

Requires macOS 26.0 or later

Oxcart 0.1.8

Oxcart for Windows, and every update included for life.

  • Oxcart runs on Windows too. One license covers up to 5 devices, Mac or Windows, in any mix.
  • Every update is included, for life.
  • Oxcart is $5 through December 31, 2026.
  • Coding agents can inspect containers, read live stats and resource pressure, follow logs, track long pulls and builds, and run containers with the limits you set.
  • Recreating a container keeps its volumes and network aliases.
  • Oxcart's helper shows as Oxcart in Login Items.
  • Reliability improvements throughout.

Requires macOS 26.0 or later

Oxcart 0.1.7

Faster shared folders, faster networking, and container environments you can edit.

  • Much faster shared folders. Cloning repositories, installing packages and building in a shared folder are up to 3× faster.
  • Faster networking. Published ports and container connections move nearly twice as much data, using less CPU.
  • Encryption when you want it. Encrypting traffic between your Mac and your containers is optional: turn it on in Settings › Resources › Encrypt container connections.
  • Environment variables, easy to see and change. See a container's variables on its Overview, change them with Edit and Recreate, and paste a whole .env file at once.
  • A smoother Run Container sheet. Return moves to the next row instead of starting the container.
  • Clearer troubleshooting. Oxcart tells you when a VPN or firewall is slowing your connections.
  • More reliable shared folders, with correct permission errors and up-to-date contents after changes on your Mac.

Requires macOS 26.0 or later

Oxcart 0.1.6

Coding agents can fix what they find, plus fixes and hardening throughout.

  • New agents can start, stop and restart containers, run commands in them and bring Compose projects up, using images already on your Mac. Pulling, building and deleting require Full, set for each agent in the MCP Integrations section.
  • Setup gives every agent a ready-to-use entry, and oxcart mcp check confirms it works.
  • Sharper answers: agents see when a service is down because something it depends on is, whether a web page actually loads, and what caused a failure and how to fix it.
  • Start at login opens Oxcart in the menu bar, ready when you need it.
  • Oxcart checks for updates as it starts, and sends a short check-in to oxcart.cc. Settings › Privacy shows exactly what it contains.
  • Containers find the other services on their networks from the moment they start.
  • Fixes to privileged containers, Rosetta checks and setup safeguards.
  • The Oxcart app asks before anything that deletes data or stops running work.
  • Security hardening and reliability improvements throughout.

Requires macOS 26.0 or later

Oxcart 0.1.5

Oxcart runs local Kubernetes and privileged containers, and speaks ten languages.

  • Settings › Resources › Kubernetes and networking: turn on privileged containers to run kind, k3d, minikube (Docker driver) and Docker-in-Docker, and to use docker run --privileged and --device. It is off by default. Oxcart's guard keeps every container away from its disks, its kernel, other containers' data and its channels to your Mac.
  • IPv6 container networks, also off by default, for networks created with IPv6 such as kind's dual-stack network.
  • Oxcart is translated into Simplified Chinese, Japanese, German, French, Spanish, Brazilian Portuguese, Korean, Russian and Turkish. Settings › General › Language sets it for Oxcart only.

Requires macOS 26.0 or later

Oxcart 0.1.4

Licensing and refinements.

  • Secure email-link license activation.
  • License and Mac management from Settings.
  • Offline license verification.
  • Performance improvements, UI polish, and bug fixes.

Requires macOS 26.0 or later

Oxcart 0.1.3

Idle memory reclamation.

  • Reclaims VM memory when no containers are running.
  • Preserves containers, images, volumes, and networks.

Requires macOS 26.0 or later

Oxcart 0.1.2

Command-line tool integration.

  • Switch between Oxcart's bundled Docker tools and an existing installation.
  • UI polish.

Requires macOS 26.0 or later

Oxcart 0.1.1

Bundled Docker tools and agent controls.

  • Docker CLI 29.9, Compose 5.6, and Buildx 0.38 included.
  • Docker context integration and secure Keychain credentials.
  • MCP agent connections with per-agent permissions and blocking.

Requires macOS 26.0 or later

Oxcart 0.1.0

Docker-compatible containers for Apple silicon.

  • Docker CLI, Compose, and Buildx compatibility.
  • Offline setup with bundled runtime components.
  • Ports organized by project and Git branch.
  • MCP integration with read-only access by default.
  • Verified automatic updates.

Requires macOS 26.0 or later