talira

Container runtimes on macOS (and Linux) with minimal setup

open sourceMITself-hostablefree

Colima (Containers on Lima) is a command-line tool that runs container runtimes in a Lima Linux VM on macOS and Linux with one command, colima start. It sets up Docker (the default), containerd with nerdctl, or Incus containers and VMs, with optional Kubernetes from K3s, and forwards ports and mounts volumes automatically, so the usual docker or kubectl client on the Mac works with no more setup. The VM can use QEMU, Apple's Virtualization framework (with Rosetta for x86_64 images) or krunkit for GPU-accelerated AI model containers, and profiles run several instances side by side. It's MIT-licensed.

Ways to install

Problems it solves

  • run the docker CLI on my Mac without installing a desktop app
  • a free, scriptable way to get a Docker daemon on macOS for my whole team
  • start a container runtime on my Mac with a single terminal command
  • local Kubernetes on my Mac that shares images with Docker so I don't push to a registry to test
  • use containerd and nerdctl on macOS instead of the Docker daemon
  • run x86_64 container images on an Apple Silicon Mac with Rosetta
  • keep separate container environments with different CPU and memory settings on one Mac
  • run Linux system containers and VMs on my Mac with Incus
  • run AI models on my Mac's GPU from inside a container
  • give the Linux VM that runs my containers more CPUs and memory without recreating it
  • ports from containers on my Mac should be reachable on localhost without extra config
  • mount my Mac's project folders into containers with fast file sharing

Features

  • Docker, containerd and Incus runtimes, Docker by default
  • optional Kubernetes (K3s) with Docker or containerd, with a choice of K3s version and arguments
  • automatic port forwarding and volume mounts (sshfs, 9p or virtiofs)
  • multiple instances as profiles
  • QEMU, VZ (Apple Virtualization framework) or krunkit VMs
  • Rosetta 2 emulation of x86_64 on Apple Silicon with VZ
  • GPU-accelerated AI model containers with krunkit, via Docker Model Runner or Ramalama
  • VM CPU, memory and disk set by flags or a YAML config file
  • colima nerdctl wrapper for containerd
  • Incus virtual machines on M3 or newer Apple Silicon

Limitations

  • Doesn't run on Windows: it supports macOS on Intel and Apple Silicon, and Linux3

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Colima does.

  1. Docker Desktop One-click install to build, share and run containers on Mac, Windows and Linux
  2. OrbStack Fast, light, simple Docker containers & Linux machines
  3. Kiri A tiny, fast container runtime for macOS, Windows and Linux.
  4. Podman Desktop A graphical tool for developing on containers and Kubernetes
  5. Rancher Desktop Container management and Kubernetes on the desktop
  6. Lima Linux virtual machines, with a focus on running containers

Compare Colima with the top 3