Oxcart Download
Menu

Dev Containers and Testcontainers on a Mac

Keep your project environment consistent and your integration tests quick. Oxcart runs Dev Containers and Testcontainers on your Apple silicon Mac through the Docker tools you already use. It measured 2.5 ms per API create and 77 ms to tear down 20 containers, the fastest of the three runtimes we tested, so disposable test environments cost less waiting.

Updated

Why the engine matters for tests

A Testcontainers suite starts a real Postgres, Kafka or Redis for a test class, and throws it away afterward. A Dev Container rebuilds and restarts a project's whole toolchain. In both, the time goes into container lifecycle calls: create, start, stop, remove, again and again. Those calls are where Oxcart is fastest.

Container lifecycle calls a test suite makes, measured in Oxcart
OperationOxcart 0.1.2Against the next fastest
API create (no CLI)2.5 ms7×
API start18.5 ms2.1×
API stop4.0 ms21×
Create and start 20 containers0.69 s2.5×
Stop and remove 20 containers77 ms8.9×
docker run --rm … true42 ms3.4×

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, medians of five samples. Full table: comparisons.

Connect Dev Containers and Testcontainers to Oxcart

  1. Install and open Oxcart. Setup creates a Docker context named oxcart. It makes it current only when nothing else is in use, so check with docker context show.
  2. Point the docker command at Oxcart. Run docker context use oxcart, or turn on Use Oxcart for the docker command in Settings › Command line tools. Turning it off restores the context you had before.
  3. Give test frameworks the socket. For tools that read DOCKER_HOST rather than Docker contexts, export it from the context: export DOCKER_HOST=$(docker context inspect oxcart --format '{{.Endpoints.docker.Host}}').
  4. Run your tests. Run your suite as usual. Testcontainers creates, starts and removes its containers through the Docker Engine API.
  5. Open the Dev Container. Open the project in its Dev Container, or run devcontainer up --workspace-folder . with the Dev Containers CLI.

Testcontainers

Testcontainers libraries (Java, Go, Node, Python, .NET and the rest) talk to the Docker Engine API directly, not through the docker CLI. Oxcart negotiates API version 1.54 and accepts 1.40 to 1.54, so current Testcontainers releases connect without special settings once they can find the socket.

Finding the socket

Testcontainers looks at DOCKER_HOST first. Oxcart's socket lives in its private state folder, mode 0600, and its path is stored in the oxcart Docker context. Export it once per shell, or set it in your IDE's test configuration:

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

Helper containers and the socket inside containers

Testcontainers starts a small helper container that cleans up after crashed test runs, and some setups run tests inside a container. Both mount the Docker socket. In Oxcart, -v /var/run/docker.sock:/var/run/docker.sock gives a container the same Docker API from inside the Linux side, so helper containers, docker-outside-of-docker, Portainer and Traefik work as they expect. If a tool tries to mount your Mac-side DOCKER_HOST path into a container instead, Testcontainers' standard TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE setting tells it to mount /var/run/docker.sock.

Images built from a Dockerfile

Testcontainers can build an image from a Dockerfile in your test (ImageFromDockerfile and its equivalents). That uses the Engine API's build endpoint, which Oxcart runs on BuildKit, with tar contexts (plain and gzip), build arguments, labels and several tags.

Dev Containers

A Dev Container describes a project's toolchain as a container, and the Dev Containers tooling (the VS Code extension, the devcontainer CLI and the editors that use it) builds and runs it through the docker CLI. With the oxcart context current, that is Oxcart.

Open your project with its toolchain and supporting services together. The Dev Containers CLI starts the workspace alongside services such as Postgres and Redis; your non-root node user can edit the workspace, and the project’s post-create script prepares its dependencies. Teammates get the same environment from the same configuration.

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

Tips for Dev Containers on Apple silicon

  • Architecture: most Dev Container base images publish arm64. For an amd64-only image, Oxcart runs it through Rosetta; see Docker Compose on Apple silicon.
  • Dependencies in volumes: put node_modules, package caches and database data in named volumes, and keep the source on the bind-mounted workspace.
  • File watching: edits made on the Mac do not produce inotify events inside containers, so a watcher running in the container should use polling.
  • Coding agents: an agent running inside a Dev Container keeps its shell in the project's container; an agent on the Mac can inspect the Dev Container's services through Oxcart's MCP server (Docker for AI coding agents).

The Docker context, without surprises

Oxcart creates its oxcart context at setup and makes it current only when that takes nothing from you: when the current context is default and nothing answers at its socket. Otherwise your current context stays. Settings › Command line tools has Use Oxcart for the docker command, which switches to oxcart and remembers the context it replaced; turning it off switches back. Oxcart never creates or replaces /var/run/docker.sock on your Mac, and its API is never on TCP.

Questions

Does Testcontainers work on Apple silicon Macs with Oxcart?

Yes. Testcontainers talks to the Docker Engine API, which Oxcart implements (API versions 1.40 to 1.54), including the build endpoint Testcontainers uses for images built from a Dockerfile. Containers can also mount the Docker socket at /var/run/docker.sock, which Testcontainers' helper containers expect.

How do I set DOCKER_HOST for Testcontainers?

Read it from the oxcart Docker context: docker context inspect oxcart --format '{{.Endpoints.docker.Host}}' prints a unix:// path. Export it as DOCKER_HOST in your shell or your IDE's test run configuration.

Why are my integration tests faster with Oxcart?

Test suites spend much of their time creating, starting, stopping and removing containers. On the same Mac, Oxcart measured 2.5 ms per API create, 18.5 ms per API start, 4.0 ms per API stop, and 77 ms to stop and remove 20 containers: the fastest of the three runtimes we tested at each.

Do VS Code Dev Containers work with Oxcart?

The Dev Containers CLI 0.89.0 built and started a real multi-service configuration on Oxcart, with Postgres and Redis healthy and the workspace writable by the container user. Dev Containers tooling drives the docker CLI, so point the CLI at Oxcart with the oxcart context.

Does docker-outside-of-docker work in a Dev Container?

Yes. Mount /var/run/docker.sock into the container and the docker CLI inside talks to the same engine. Oxcart's private endpoints are refused through that socket, so a container can manage containers but cannot reach Oxcart's own internals.

Will Oxcart replace /var/run/docker.sock on my Mac?

No. Oxcart never creates or replaces /var/run/docker.sock on the Mac. Clients reach it through the oxcart Docker context or the socket path that context names.

Sources and method

  • Compatibility: Oxcart's verified integration paths (Engine API build used by docker-py and Testcontainers, Dev Containers CLI 0.89.0, the Docker socket inside containers) and API version range.
  • Docker context selection and command-line setup: Oxcart as shipped.
  • Speed figures: Oxcart 0.1.2, 2026-10-10, Apple M5 Max, 8 CPUs and 12 GiB; the other runtimes measured earlier the same day on the same Mac and harness with the docker 29.4 client.

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