colima: macos下管理 docker的工具/colima

用命令行管理 docker
更新于: 2023-11-23 15:37:49

安装

brew install colima

使用 colima

# 启动前
docker ps -a
$ docker ps -a
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

# 启动
colima start
$ docker ps -a
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES

参考