Skip to content

Colima - container runtimes on MacOS

Colima的名字取自Container on LimaLima是一个虚拟机工具,可以实现自动的文件共享、端口转发以及containerdColima实际上是通过 Lima启动了名为colima的虚拟机,使用虚拟机中的containerd作为容器运行时。

Installation

brew install colima

Usage

colima delete # delete existing instance
colima start

docker ps
docker pull busybox
docker images

limactl list
limactl shell colima uname -a
colima ssh

colima --help
colima start --help

Runtimes

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

### Docker
brew install docker

### Containerd
colima start --runtime containerd

colima nerdctl ps
colima nerdctl container run nginx

### Kubernetes
colima start --kubernetes

Customizing the VM

colima start --cpu 4 --memory 16

Project homepage

https://github.com/abiosoft/colima