Oxcart Download
Menu

Develop for AWS ECS, EKS, Fargate and Lambda locally on a Mac

To test AWS container workloads on an Apple silicon Mac, run the exact images you deploy: ECS and Fargate tasks as a Compose project, Lambda container images with AWS’s built-in Runtime Interface Emulator, and AWS APIs through LocalStack. Oxcart keeps that loop fast, with containers starting in 42 ms and amd64 images running through Rosetta.

Updated

What runs where

AWS container services and their local stand-ins on Oxcart
AWS serviceLocal stand-inYour local workflow
ECS task, Fargate taskDocker Compose with the task’s imagesRun your services together with healthchecks and published ports
Lambda (container image)Lambda base image with the Runtime Interface EmulatorInvoke your function over HTTP on native arm64
S3 and other AWS APIsLocalStackDevelop S3 bucket and object operations locally
EKSkubectl and k9s against the real cluster; kwok for a local APIBuild and test locally, then use kubectl and k9s with your cluster

ECS and Fargate tasks as a Compose project

An ECS task definition is a list of containers with images, environment, port mappings, health checks and start order. Compose describes the same things, so the translation is direct: one service per container definition.

Task definition fields and their Compose equivalents
Task definitioncompose.yaml
imageimage
environment, secretsenvironment, env_file (keep real secrets out of the file)
portMappingsports
healthCheckhealthcheck
dependsOn with HEALTHYdepends_on with condition: service_healthy
runtimePlatform.cpuArchitectureplatform: linux/amd64 or linux/arm64
services:
  api:
    image: ACCOUNT.dkr.ecr.us-east-1.amazonaws.com/api:1.4.0
    platform: linux/amd64          # match the task's cpuArchitecture
    environment:
      DATABASE_URL: postgres://postgres:dev@db:5432/app
    ports: ["8080:8080"]
    depends_on:
      db:
        condition: service_healthy
  db:
    image: postgres:17-alpine
    environment:
      POSTGRES_PASSWORD: dev
      POSTGRES_DB: app
    healthcheck:
      test: ["CMD", "pg_isready", "-U", "postgres"]
      interval: 2s
      retries: 30
docker compose up -d --wait     # returns when db is healthy and api has started
curl localhost:8080/health
docker compose down -v

We verified this pattern on Oxcart with Postgres 17 and an nginx service gated on service_healthy: up --wait returned with both healthy and the published port answering on localhost. For amd64 images built on your Mac, pass the same platform when you run them; a locally built amd64-only image is found only when --platform linux/amd64 (or platform: in Compose) is set.

Run and invoke a Lambda container image locally

  1. Write the handler. Create app.py with a function handler(event, context) that returns a dict, for example {"statusCode": 200, "body": "hello"}.
  2. Write the Dockerfile. Start from an AWS Lambda base image, which includes the Runtime Interface Emulator: FROM public.ecr.aws/lambda/python:3.13, then COPY app.py ${LAMBDA_TASK_ROOT}/ and CMD ["app.handler"].
  3. Build the image. Run docker build -t my-lambda .. Add --platform linux/amd64 if your function is configured for x86_64.
  4. Run it. Run docker run -d -p 9000:8080 my-lambda. The emulator listens on port 8080 inside the container.
  5. Invoke it. Run curl -XPOST localhost:9000/2015-03-31/functions/function/invocations -d '{}'. The response is your handler’s return value, and docker logs shows the Lambda REPORT line with the duration.

In our run the function answered {"statusCode": 200, "body": "hello from lambda on aarch64"}, and the container log showed the Lambda REPORT line with a 19 ms duration. The emulator is AWS’s own: “a proxy for Lambda’s Runtime and Extensions APIs” that stands up the /2015-03-31/functions/function/invocations endpoint.

AWS APIs with LocalStack

LocalStack emulates AWS APIs in one container on port 4566. On Oxcart we ran the 4.9 image and exercised S3 end to end:

docker run -d --name localstack -p 4566:4566 localstack/localstack:4.9
curl -s localhost:4566/_localstack/health          # s3, lambda, dynamodb… "available"
curl -X PUT localhost:4566/my-bucket               # create a bucket
curl -X PUT --data-binary hello localhost:4566/my-bucket/hello.txt
curl localhost:4566/my-bucket/hello.txt            # hello

Know the licensing before you build on it. Since March 23, 2026, the latest LocalStack releases require a LocalStack account and auth token; without LOCALSTACK_AUTH_TOKEN, the latest image exits with “License activation failed”. LocalStack’s free Hobby plan is for non-commercial use, ECS is available from its Base plan and EKS from its Ultimate plan.

Push to ECR and deploy

aws ecr get-login-password --region us-east-1 \
  | docker login --username AWS --password-stdin ACCOUNT.dkr.ecr.us-east-1.amazonaws.com
docker buildx build --platform linux/amd64 --load -t ACCOUNT.dkr.ecr.us-east-1.amazonaws.com/api:1.4.0 .
docker push ACCOUNT.dkr.ecr.us-east-1.amazonaws.com/api:1.4.0

Oxcart keeps the registry password in the macOS Keychain, not in ~/.docker/config.json. Pushing a multi-platform image from Oxcart is not supported: push one tag per architecture, or publish multi-arch manifests from CI.

EKS from your Mac

aws eks update-kubeconfig --name my-cluster adds the cluster to your kubeconfig so you can use kubectl and k9s from macOS. Develop and test your services locally with Oxcart, then deploy the same images to EKS. For local manifest and controller testing, kwok provides a real Kubernetes API server with simulated nodes. The Kubernetes on a Mac guide explains how these workflows fit together.

Why the local loop is worth it

Every change you test locally skips a push, a deploy and a log search. Oxcart makes that loop short: 42 ms for docker run --rm, 0.69 s to create and start 20 containers, and 77 ms to stop and remove them, the fastest of the three runtimes we tested. Outbound connections from containers are opened by your Mac, so a VPN into your AWS network applies to them too.

Questions

How do I test an ECS or Fargate task locally on a Mac?

Run the task’s containers with Docker Compose: one service per container definition, with the same image, environment, port mappings, healthcheck and dependencies. docker compose up -d --wait returns when every service with a healthcheck is healthy. Oxcart runs the stack with healthcheck dependencies and published ports, so you can exercise the services together before deployment.

Can I run AWS Lambda container images locally on Apple silicon?

Yes. AWS Lambda base images include the Runtime Interface Emulator. On Oxcart we built a Python 3.13 function from public.ecr.aws/lambda/python:3.13, ran it with -p 9000:8080, and invoked it with curl: it answered HTTP 200 natively on arm64.

Does LocalStack work on Oxcart?

Yes, as a container. We verified S3 bucket create, put, get and list against localhost:4566 with the LocalStack 4.9 image. Current LocalStack releases need a LocalStack account and auth token, set as LOCALSTACK_AUTH_TOKEN; without one, the latest image exits. LocalStack documents ECS from its Base plan and EKS from its Ultimate plan.

How do I push an image to Amazon ECR from a Mac?

Log in with aws ecr get-login-password --region REGION | docker login --username AWS --password-stdin ACCOUNT.dkr.ecr.REGION.amazonaws.com, then tag and docker push. On Oxcart, docker login stores the password in the macOS Keychain.

Should I build amd64 or arm64 images for Fargate?

Match the task definition’s runtime platform. If it uses ARM64, build native arm64 images on your Mac; if it uses X86_64, build with --platform linux/amd64. Oxcart runs amd64 images locally through Rosetta, so you can test the exact image you deploy.

How do I develop for EKS on my Mac?

Build and test your app and its dependencies locally with Oxcart, then push the images to ECR. Use kubectl and k9s on the Mac to work with your EKS cluster, and kwok on Oxcart to check manifests against a local Kubernetes API. See the Kubernetes on a Mac guide.

Sources and method

  • Examples tested with Oxcart 0.1.2, Mac17,14, macOS 27.2, 2026-10-10 (Compose, Lambda base image with the emulator, LocalStack 4.9 S3, Buildx).
  • LocalStack auth: https://blog.localstack.cloud/localstack-single-image-next-steps/; plans: https://localstack.cloud/pricing/; ECS: https://docs.localstack.cloud/aws/services/ecs/; EKS: https://docs.localstack.cloud/aws/services/eks/.
  • Lambda Runtime Interface Emulator: https://github.com/aws/aws-lambda-runtime-interface-emulator. AWS SAM CLI and Docker: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-docker.html. ECS Local Container Endpoints: https://github.com/awslabs/amazon-ecs-local-container-endpoints. Checked 2026-10-10.
  • Container speed: Oxcart 0.1.2, 2026-10-10, Apple M5 Max, 8 CPUs and 12 GiB, medians of five samples; the other runtimes were 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