The Fork of colima with optimization. https://colima.run
  • Go 97.6%
  • Shell 1.3%
  • Nix 0.6%
  • Makefile 0.5%
Find a file
dependabot[bot] c2934d438c
build(deps): bump github.com/fatih/color from 1.18.0 to 1.19.0 (#1546)
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.18.0 to 1.19.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.18.0...v1.19.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  dependency-version: 1.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-22 21:21:06 +01:00
.github build(deps): bump actions/download-artifact from 8.0.0 to 8.0.1 (#1544) 2026-03-22 21:20:40 +01:00
app core: rework host to guest file movements. (#1538) 2026-03-10 20:49:00 +01:00
cli misc: improve password prompt message for network setup 2025-08-20 10:52:35 +01:00
cmd vm: enable nested virtualization for krunkit (#1531) 2026-03-03 07:22:49 +01:00
config core: make cache directory configurable (#1537) 2026-03-12 21:10:04 +01:00
core vm: remove obsolete binfmt downloader 2024-10-05 12:57:42 +01:00
daemon incus: make instance ips host reachable (#1496) 2026-02-08 00:17:20 +01:00
docs core: make cache directory configurable (#1537) 2026-03-12 21:10:04 +01:00
embedded core: update disk images (#1517) 2026-02-21 22:28:51 +01:00
environment incus: support full restore after soft-delete 2026-03-10 22:37:25 +01:00
integration chore/integration test (#123) 2022-01-15 13:15:44 +01:00
model ai: refactor model runners (#1516) 2026-02-21 17:58:43 +01:00
scripts net: update vmnet (#1152) 2024-10-04 10:36:14 +01:00
store core: support AI models (#1499) 2026-02-09 11:18:34 +01:00
util core: rework host to guest file movements. (#1538) 2026-03-10 20:49:00 +01:00
.editorconfig chore: add editorconfig file 2024-08-10 08:11:00 +01:00
.gitignore net: propagate custom dns hosts to gvproxy (#543) 2022-12-27 19:10:54 +01:00
.golangci.yml ci: bump Go version (#1354) 2025-07-31 22:12:50 +01:00
colima.gif readme: update demonstration gif 2021-10-12 15:17:15 +01:00
colima.nix k3s: customizable listen port (#1419) 2025-09-25 11:46:26 +01:00
colima.png docs: update logo (#850) 2023-11-12 11:47:59 +01:00
default.nix chore: update nix files (#360) 2022-07-01 07:02:20 +01:00
flake.lock k3s: customizable listen port (#1419) 2025-09-25 11:46:26 +01:00
flake.nix k3s: customizable listen port (#1419) 2025-09-25 11:46:26 +01:00
go.mod build(deps): bump github.com/fatih/color from 1.18.0 to 1.19.0 (#1546) 2026-03-22 21:21:06 +01:00
go.sum build(deps): bump github.com/fatih/color from 1.18.0 to 1.19.0 (#1546) 2026-03-22 21:21:06 +01:00
LICENSE revert: "chore: update LICENSE, fix copyright license year (#1235)" (#1237) 2025-01-02 06:54:25 +01:00
Makefile chore: generate checksum files after signing assets by codesign (#1105) 2024-08-13 06:18:58 +01:00
README.md docs: update README for clarity and additional resources 2026-02-28 15:36:53 +01:00
SECURITY.md docs: add a security policy (#586) 2023-01-17 05:28:54 +01:00
shell.nix k3s: customizable listen port (#1419) 2025-09-25 11:46:26 +01:00

colima-logo

Colima - container runtimes on macOS (and Linux) with minimal setup.

Go Integration Go Report Card

Demonstration

Website & Documentation: colima.run | colima.run/docs

Features

Support for Intel and Apple Silicon macOS, and Linux

  • Simple CLI interface with sensible defaults
  • Automatic Port Forwarding
  • Volume mounts
  • Multiple instances
  • Support for multiple container runtimes
    • Docker (with optional Kubernetes)
    • Containerd (with optional Kubernetes)
    • Incus (containers and virtual machines)
  • GPU accelerated containers for AI workloads

Getting Started

Installation

Colima is available on Homebrew, MacPorts, Nix and Mise. Check here for other installation options.

# Homebrew
brew install colima

# MacPorts
sudo port install colima

# Nix
nix-env -iA nixpkgs.colima

# Mise
mise use -g colima@latest

Or stay on the bleeding edge (only Homebrew)

brew install --HEAD colima

Usage

Start Colima with defaults

colima start

For more usage options

colima --help
colima start --help

Or use a config file

colima start --edit

Runtimes

On initial startup, Colima initiates with a user specified runtime that defaults to Docker.

Docker

Docker client is required for Docker runtime. Installable with brew install docker.

colima start
docker run hello-world
docker ps

You can use the docker client on macOS after colima start with no additional setup.

Containerd

colima start --runtime containerd starts and setup Containerd. You can use colima nerdctl to interact with Containerd using nerdctl.

colima start --runtime containerd
nerdctl run hello-world
nerdctl ps

It is recommended to run colima nerdctl install to install nerdctl alias script in $PATH.

Kubernetes

kubectl is required for Kubernetes. Installable with brew install kubectl.

To enable Kubernetes, start Colima with --kubernetes flag.

colima start --kubernetes
kubectl run caddy --image=caddy
kubectl get pods

Interacting with Image Registry

For Docker runtime, images built or pulled with Docker are accessible to Kubernetes.

For Containerd runtime, images built or pulled in the k8s.io namespace are accessible to Kubernetes.

Incus

Requires v0.7.0

Incus client is required for Incus runtime. Installable with brew brew install incus.

colima start --runtime incus starts and setup Incus.

colima start --runtime incus
incus launch images:alpine/edge
incus list

You can use the incus client on macOS after colima start with no additional setup.

Note: Running virtual machines on Incus is only supported on m3 or newer Apple Silicon devices.

AI Models (GPU Accelerated)

Requires v0.10.0, Apple Silicon and macOS 13+

Colima supports GPU accelerated containers for AI workloads using the krunkit VM type.

Note: To use krunkit with colima, ensure it is installed.

brew tap slp/krunkit
brew install krunkit

Setup and use a model.

colima start --runtime docker --vm-type krunkit
colima model run gemma3

Colima supports two model runner backends:

The default registry is the Docker AI Registry. Models can be run by name without a prefix:

colima model run gemma3
colima model run llama3.2
# HuggingFace (Docker Model Runner)
colima model run hf.co/microsoft/Phi-3-mini-4k-instruct-gguf
# Ollama (requires ramalama runner)
colima model run ollama://gemma3 --runner ramalama

See the AI Workloads documentation for more details.

Customizing the VM

The default VM created by Colima has 2 CPUs, 2GiB memory and 100GiB storage.

The VM can be customized either by passing additional flags to colima start. e.g. --cpu, --memory, --disk, --runtime. Or by editing the config file with colima start --edit.

NOTE: Disk size can be increased after the VM is created.

Customization Examples

  • create VM with 1CPU, 2GiB memory and 10GiB storage.

    colima start --cpu 1 --memory 2 --disk 10
    
  • modify an existing VM to 4CPUs and 8GiB memory.

    colima stop
    colima start --cpu 4 --memory 8
    
  • create VM with Rosetta 2 emulation. Requires v0.5.3 and macOS >= 13 (Ventura) on Apple Silicon.

    colima start --vm-type=vz --vz-rosetta
    

Project Goal

To provide container runtimes on macOS with minimal setup.

What is with the name?

Colima means Containers on Lima.

Since Lima is aka Linux Machines. By transitivity, Colima can also mean Containers on Linux Machines.

The logo was contributed by Daniel Hodvogner. Check this issue for more.

Troubleshooting and FAQs

Check here for Frequently Asked Questions, or visit the online FAQ for a searchable version.

How to Contribute?

Check here for the instructions on contributing to the project.

Community

License

MIT

Sponsoring the Project

If you (or your company) are benefiting from the project and would like to support the contributors, kindly sponsor.