colima
container runtime for macOS and Linux
TLDR
Start with defaults
SYNOPSIS
colima command [options]
DESCRIPTION
colima provides container runtimes on macOS and Linux with minimal setup and resource requirements. It uses Lima (Linux virtual machines) to create an environment for running Docker and containerd, offering a completely free and open-source alternative to Docker Desktop.
On macOS, Colima leverages either QEMU or the native Apple Virtualization framework (VZ) for better performance on Apple Silicon. On Linux, it provides a consistent containerization environment. The tool automatically configures Docker client connectivity, port forwarding, and volume mounts, making the VM layer transparent to users.
Colima supports multiple runtime profiles, allowing separate instances with different configurations for various projects. Kubernetes clusters can be enabled for local development. The tool integrates seamlessly with existing Docker workflows, requiring no changes to docker commands or compose files. Resource allocation (CPU, memory, disk) is configurable and lightweight compared to alternatives.
COMMANDS
start
Start Colima VMstop
Stop Colima VMdelete
Delete Colima instancestatus
Show statuslist
List instancesssh
SSH into VMnerdctl
Run nerdctl (containerd)version
Show version
START OPTIONS
--cpu n
Number of CPUs--memory n
Memory in GB--disk n
Disk size in GB--runtime type
Runtime: docker, containerd--kubernetes
Enable Kubernetes--arch arch
Architecture: x86_64, aarch64--vm-type type
Virtualization: vz, qemu--profile name
Instance profile name
DOCKER USAGE
After starting:
docker run hello-world
CAVEATS
Requires macOS 10.15+ or Linux. vz (Apple virtualization) faster on Apple Silicon. Completely free and open source.
