Colima:Docker Destop 在 MacOS 上的替代方案

Docker,NMSL。

为了避免在本地打镜像时安装一个臃肿、令人作呕的 docker desktop,可以考虑轻量的 Colima

Colima: Container runtimes on macOS (and Linux) with minimal setup

brew install colima docker # 这里的 docker 只有 client
colima start --edit # 可以顺便把 mirror 配了,需要一段时间. see https://github.com/abiosoft/colima/issues/225
docker:
  registry-mirrors:
    - https://MY_REGISTRY_MIRROR

如果之前用 docker desktop 登录过,需要修改 vi ~/.docker/config.json,去掉 credsStore 字段。

See also: https://github.com/abiosoft/colima/issues/52

CC BY-NC-SA 4.0 本作品使用基于以下许可授权:Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注