Oxcart Download
Menu

Kubernetes on a Mac in 2026: kubectl, k9s and local clusters

Most Kubernetes work on an Apple silicon Mac happens in three places: kubectl and k9s on the Mac talking to a cloud or shared cluster, image builds for that cluster, and the app’s dependencies running locally. Oxcart keeps that development loop fast: build images, run your app and its dependencies, and test manifests with a local kwok API server before applying them to your cluster.

Updated

The workflow that fits a Mac

A Kubernetes cluster on a laptop is a copy of something that really runs elsewhere. For a lot of platform and application work you don’t need that copy: you need fast feedback on the container itself, the services it talks to, and a terminal open on the real cluster. On an Apple silicon Mac that splits into four jobs.

Kubernetes jobs on a Mac and where they run
JobToolOn Oxcart
Inspect and operate clusterskubectl, k9sNative Mac tools; connect to any kubeconfig context
Build images for the clusterdocker buildx buildBuild amd64 and arm64 images together
Run the app and its dependenciesdocker composeStart your stack with healthchecks, up --wait and published ports
Test manifests against an API serverkwokCheck manifests against a real control plane with simulated nodes and pods

kubectl and k9s against your clusters

kubectl and k9s read the same kubeconfig, so whatever you can reach with one you can browse with the other. Cloud CLIs write contexts into it for you: aws eks update-kubeconfig, az aks get-credentials and gcloud container clusters get-credentials each add a context.

kubectl config get-contexts          # every cluster in your kubeconfig
kubectl config use-context my-eks    # switch the current context
kubectl get pods -A                  # works against the current context
k9s                                  # the same context, in a terminal UI
k9s --context my-aks --readonly      # another context, read-only

Install k9s with Homebrew or MacPorts, as its install page documents. Keep separate kubeconfig files per environment and pick one with KUBECONFIG=~/.kube/staging k9s when you want production out of reach.

Build images for the cluster

Most clusters run amd64 nodes, and your Mac is arm64. Buildx on Oxcart builds both from one Dockerfile on the default builder:

docker buildx ls                     # default builder: linux/amd64, linux/arm64
docker buildx build --platform linux/amd64,linux/arm64 -t myapp:dev .
docker run --rm --platform linux/amd64 myapp:dev   # runs through Rosetta
docker run --rm --platform linux/arm64 myapp:dev   # runs natively

Pass --platform linux/amd64 when you run an amd64-only image you built locally. For deployment, push one tag per platform, or let CI publish a multi-architecture manifest that selects the right image for each node:

docker buildx build --platform linux/amd64 --load -t registry.example.com/myapp:1.4.0-amd64 .
docker push registry.example.com/myapp:1.4.0-amd64

Builds are quick: Oxcart measured 341 ms for an uncached build of a small local context and 121 ms cached, the fastest of the three runtimes we tested. docker login keeps registry passwords in the macOS Keychain.

Run the app’s dependencies with Compose

While the service you are changing talks to a remote cluster, its database, cache and queue can run on your Mac. A compose.yaml with healthchecks and depends_on: condition: service_healthy comes up with docker compose up -d --wait and returns only when every service is healthy. See Docker Compose on Apple silicon for a full example. Containers start fast enough to tear down between test runs: 42 ms for docker run --rm and 77 ms to stop and remove 20 containers.

A real Kubernetes API on your Mac with kwok

kwok (Kubernetes WithOut Kubelet) starts the real control-plane components as containers and simulates nodes and pods. On Oxcart, kwokctl brought up etcd, kube-apiserver, kube-scheduler and kube-controller-manager (v1.36.1) in about 15 seconds including the image pulls, and kubectl and k9s on the Mac connected to it.

kwokctl create cluster --name dev --runtime docker
kwokctl scale node --replicas 2 --name dev
kubectl apply -f deploy.yaml
kubectl rollout status deploy/web     # "successfully rolled out"
kubectl get pods -o wide              # 3/3 Running on simulated nodes
k9s                                   # browse it like any cluster
kwokctl delete cluster --name dev

Use it to check that manifests apply, that RBAC rules allow what you expect, that a controller or operator talks to the API correctly, and to learn k9s without touching a shared cluster. No container from your Deployment actually runs: the pods are records in the API server, marked Running by kwok.

Choose where your cluster lives

Keep your fast feedback loop on the Mac and use the cluster that fits your team. A shared development cluster gives everyone the same controllers, policies and cloud integrations. A local cluster is useful when you need real pods while disconnected from that environment.

Oxcart supports privileged containers for workloads that need elevated permissions inside Linux. A full Kubernetes cluster also depends on the cluster tool’s networking and runtime configuration. For a cluster bundled into a desktop app, see the Mac container app comparison; for day-to-day app development, the Compose, Buildx and kwok workflows above keep iteration local.

Cloud clusters from your Mac

Questions

How does Oxcart fit a Kubernetes workflow?

Use Oxcart to build your images, run the app and its dependencies locally, and test manifests with a local kwok API server. Privileged containers are part of the platform. Use kubectl and k9s on your Mac for your shared or cloud cluster; Oxcart does not bundle a Kubernetes cluster.

Is there any local Kubernetes API I can use with Oxcart?

Yes. kwok runs a real Kubernetes control plane (etcd, kube-apiserver, kube-scheduler and kube-controller-manager, v1.36 in our test) as Oxcart containers, and kubectl and k9s on your Mac connect to it. Its nodes and pods are simulated, so it is for testing manifests, RBAC and API behaviour, not for running your app’s containers.

Do kubectl and k9s work on an Apple silicon Mac?

Yes. Both are native macOS command-line tools. They use your kubeconfig, so they work with any cluster it points to: EKS, AKS, GKE, a cluster at work, or a local API server. k9s documents installation with Homebrew and MacPorts.

How do I build images for an amd64 Kubernetes cluster on an Apple silicon Mac?

Use Buildx with --platform linux/amd64, or --platform linux/amd64,linux/arm64 for both. On Oxcart the multi-platform build completes on the default builder and both architectures run locally. Pushing a multi-platform image from Oxcart is not supported, so push one tag per platform or let CI publish the multi-arch manifest.

Where can I run a full local Kubernetes cluster on a Mac?

Several Mac container apps bundle a single-node cluster. They are compared, with sources, on the comparisons page. Many teams instead develop against a shared or cloud cluster and run only the app’s dependencies locally, which is the workflow this guide covers.

Does k9s need a metrics server?

k9s connects without one; it logs a warning and leaves CPU and memory columns empty when the cluster has no metrics API. In our kwok test it reported “Kubernetes connectivity OK” with that warning.

Sources and method

  • Local API example: Oxcart 0.1.2, Mac17,14, macOS 27.2, 2026-10-10; kwokctl v0.8.0, k9s v0.51.0 and kubectl v1.33.9.
  • kwok: https://kwok.sigs.k8s.io/; k9s: https://k9scli.io/ and https://k9scli.io/topics/install/; kind: https://kind.sigs.k8s.io/docs/user/known-issues/; k3d: https://k3d.io/stable/; minikube drivers: https://minikube.sigs.k8s.io/docs/drivers/. Checked 2026-10-10.
  • Build and 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