Colima - container runtimes on MacOS
Colima
的名字取自Container on Lima
,Lima
是一个虚拟机工具,可以实现自动的文件共享、端口转发以及containerd
。Colima
实际上是通过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
Disclaimer
- License under
CC BY-NC 4.0
- Copyright issue feedback
me#imzye.me
, replace # with @ - Not all the commands and scripts are tested in production environment, use at your own risk
- No privacy information is collected here