compose brings Docker Compose to the container CLI. Take a look

Guide

Clusters

Create, run and manage local Kubernetes (k8s) clusters built on Apple container's cluster plugin - grouped nodes, one-click kubeconfig, and a terminal that opens ready for kubectl.

Requires Apple container 1.2.2+ (its Kubernetes plugin is k8s before 1.6.1, cluster from 1.6.1) · macOS 26 · Apple silicon
A local Kubernetes cluster in Orchard, with its control-plane node, kubectl access and per-node details

What is a cluster?

Apple container 1.2.2 ships a plugin that bootstraps a local single-node Kubernetes (k8s) cluster from a kindest/node image: the node is an ordinary container running containerd and kubelet, initialised with kubeadm and wired up with the kindnet CNI. The control-plane container's name is the cluster's name, and its API server is published to your Mac. From container 1.6.0 the plugin can also create worker nodes alongside the control plane, named <cluster>-worker-N. Container 1.6.1 renamed the plugin from k8s to cluster, so its commands are now container cluster ...; Orchard uses whichever your install has.

Because cluster nodes are just containers carrying plugin labels, Orchard derives clusters straight from the container list it already watches, grouping them as the CLI's container cluster list does. Orchard also lists clusters made before container 1.6.1, which that command no longer shows (see below). Node containers are badged in the containers list too, so a kindest/node row is never a mystery.

The plugin has no XPC API, so lifecycle actions go through the container cluster CLI (container k8s before 1.6.1); node state comes from the container XPC snapshot Orchard already streams.

What Orchard does

Clusters, grouped

Node containers are grouped into named clusters with per-node role, status, IP, CPUs, memory and published ports. Expand a cluster in the list (or press the right arrow key) to see its nodes and open any of them.

Lifecycle

Create at the Kubernetes version you choose, with optional CPU/memory overrides, worker nodes (container 1.6.0+, sized apart from the control plane on 1.7.1+) and a CNI of your choosing (kindnet, your own manifest, or none at all on container 1.6.0+), and delete with confirmation before anything destructive.

Run local images

On container 1.7 and later, a cluster created with Use local images pulls straight from your Mac's image store, so pods run images built or pulled in Orchard without a registry. On 1.6.x, push an image into the cluster's containerd instead, on every node or only the ones you pick.

kubectl access

Write or merge the cluster's context into your kubeconfig, copy the kubeconfig path, or open a terminal with the context already selected.

Plugin badges

Cluster nodes show a plugin badge (e.g. "cluster · control-plane", or "k8s · control-plane" for a node made before 1.6.1) in the containers list and detail header.

Guardrails

Installs without the cluster plugin get an explanatory state with upgrade guidance instead of broken buttons.

Getting started

  1. Open the Clusters section

    Select Clusters in the sidebar. If your container install predates the cluster plugin (before 1.2.2), the section explains that and links to upgrade instructions.

  2. Create a cluster

    Click + (or "Create Cluster"). The default name is cluster-dev (k8s-dev before container 1.6.1); resource defaults come from the runtime unless you override them. Kubernetes Version defaults to the node image the cluster plugin ships with (marked Recommended); the menu also lists the newest kindest/node release of each version from 1.31, or you can give any tagged image. On container 1.7 and later, Use local images (on by default) lets the nodes pull from your Mac's image store; turn it off for workloads you don't trust (see Local images are shared with the cluster). Under Advanced, Workers adds that many worker nodes (container 1.6.0 and later). On container 1.7.1 and later, once there are workers the resource fields size the control plane only, and Size the workers sets the CPUs and memory each worker gets; left off, each worker gets a quarter of your Mac's CPUs and memory, at least 2 CPUs and 2 GB. CNI keeps the default kindnet, applies a manifest of yours in its place, or (container 1.6.0 and later) installs none, for you to add your own afterwards. The first create pulls the Kubernetes node image (roughly 850 MB) and bootstraps the control plane with kubeadm, so expect it to take several minutes.

  3. Point kubectl at it

    In the cluster's detail view, Write Kubeconfig merges the cluster's context into ~/.kube/config (named after the cluster), or use Terminal (kubectl) to open your preferred terminal with the context already selected.

  4. Run your images

    On container 1.7 and later, a cluster created with Use local images sees every image on your Mac: reference one from a pod spec by the name Orchard shows and no registry is needed. After rebuilding a tag, use a new tag or imagePullPolicy: Always: with the default IfNotPresent, a node keeps the image it already has and a new pod runs the old build. Its detail says whether it can see your images; a cluster created without the option offers Recreate to turn it on, since only a create can. Container 1.7.1 removed cluster load-image, so Load Image is gone there.

    On container 1.6.x, Load Image… exports an image from Orchard's local store into the cluster nodes' containerd. On a cluster with workers you can load it into every node (the default) or only the nodes you select. Reference it from a pod spec with imagePullPolicy: Never (or a matching tag).

Pitfalls & things to know

A stopped cluster can't be restarted

Apple container 1.5.0 removed container k8s start, so a cluster whose node has stopped (after a reboot or container system stop, for example) can only be deleted and created again. Recreate on the stopped cluster does both in one step, with the same name, resources, Kubernetes version and CNI. On container 1.7.1 and later these come from what container stored when the cluster was created, so a cluster made in a terminal recreates with its real settings too. The list and detail show that record's Kubernetes version, and the detail its creation date. A cluster made before 1.7 has no record, so container cluster ls leaves it out; Orchard still shows it, with a note, and can delete it. Workloads and images loaded into it aren't kept, so keep your manifests somewhere you can re-apply them from.

Clusters made before container 1.6.1

Container 1.6.1 renamed the plugin from k8s to cluster, and the renamed plugin only sees nodes it labelled itself. A cluster made on 1.6.0 or earlier still shows in Orchard after you upgrade, with a note saying so, but Write Kubeconfig, and on 1.6.x Load Image, are off for it because the CLI can't find it. Recreate deletes it and creates it again under the new plugin with the same settings. Delete removes its node containers directly, which leaves the cluster's context in your kubeconfig.

Local images are shared with the cluster

With Use local images on, anything with root on a node, including privileged pods and pods with a hostPath mount, can read every image in your Mac's image store, private images pulled with your registry credentials included. A local image is also used before a registry image of the same name, for every pull policy and without the pod's pull secrets. Nodes can't add, change or delete images on your Mac. Turn the option off when you create a cluster for workloads you don't trust; it can only be changed by recreating the cluster.

Nodes go with their cluster

Stopping, force stopping or deleting one node on its own breaks the cluster's Kubernetes state, so Orchard doesn't offer it on any container version, and container 1.7.1's CLI refuses it too. In Containers, a node's Stop and Delete are off with a note pointing here, and Stop All and bulk actions skip nodes. Stop or delete the cluster from Clusters instead. Logs, terminals, stats and export work on a node as on any container.

A custom CNI has to fit the cluster

Orchard passes the manifest straight to the plugin, which applies it once the control plane is up. A manifest whose pod network overlaps the cluster's (Cilium's default IP settings do, for instance) leaves a cluster that never becomes ready. See the Custom CNI section of Apple container's Kubernetes guide.

A cluster with no CNI waits for you

With None (install your own), the plugin skips the CNI and the create returns without waiting for the nodes, because they can't become Ready without one. Use Write Kubeconfig, then install your CNI with kubectl apply or Helm from Terminal (kubectl); this suits Cilium, Calico and anything else a single manifest can't express. Until every node is Ready the cluster reads Waiting for CNI in the list, and its detail says what to do next. Orchard asks the API server from inside the control-plane node every few seconds while the Clusters section is open, so this needs no kubectl on your Mac, and the state clears by itself. Recreate keeps the choice. Only clusters created this way from Orchard are tracked: one created with --cni NONE in the terminal shows as Running.

Workers are chosen when the cluster is created

With no workers, the plugin creates one control-plane node and untaints it so workloads schedule there. With workers (container 1.6.0 and later), workloads run on the workers only, and each worker is a node of its own. On container 1.6.x each worker has the same CPUs and memory as the control plane; from 1.7.1 workers are sized on their own, and an unsized worker gets container's single-node defaults rather than the control plane's size. There's no way yet to add a node to a running cluster, so pick the count up front; Recreate keeps it, and the workers' sizes. Deleting a cluster removes its workers too. Before 1.6.0 every cluster is a single node.

Creation is slow the first time

The kindest/node image is a large download, and kubeadm init plus CNI rollout takes a while even after it's cached. Orchard shows the create as in-progress; the cluster appears in the list when it's ready.

Delete removes workloads

Deleting a cluster deletes its node containers and everything running on them. Orchard asks for confirmation, but there's no undo.

The API server rides a published port

The cluster's API server is published from the node's 6443 to a host port (6445 upwards). write-config takes care of the endpoint, so kubectl works without thinking about it; the mapping is visible on the node's row.

Deploy with the tools you know

Orchard deliberately stops at cluster and node management. Applying manifests, inspecting workloads and port-forwarding are kubectl / k9s / Lens territory - the terminal button drops you there with the right context selected.

Requirements

  • Apple container 1.2.2 or later - earlier releases don't ship the plugin (1.2.1's package had a packaging bug).
  • macOS 26 (Tahoe) on Apple silicon, the same floor Orchard already requires.
  • kubectl on your Mac for the terminal button - the cluster works without it, but that button assumes it's installed.

← Back to Orchard