安装
Homebrew 方式 安装:
brew install colima
然后,记得安装 docker 和 docker-compose。
brew install docker
brew install docker-compose
完成后,启动 colima :
colima start
# Start Colima
colima start
# 編輯設定檔案,並重新啟動
colima start --edit
# 使用 containerd 作為 runtime
colima start --runtime containerd
# 啟動 Kubernetes
colima start --kubernetes
# 啟動 Kubernetes 並使用 containerd 作為 runtime
colima start --runtime containerd --kubernetes
# 指定 CPU、記憶體、磁碟大小
colima start --cpu 4 --memory 8 --disk 100
# 指定 DNS
colima start --dns 1.1.1.1 --dns 8.8.8.8