mac系统装docker,不装docker desktop,安装colima

1、安装colima

bash 复制代码
brew install colima

2、验证安装

bash 复制代码
colima start
docker run hello-world
docker ps

3、常见问题

  • 提示使用docker-desktop
bash 复制代码
error getting credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out: `

把 credential helper 改掉(推荐做法)

先看你现在的 Docker 配置:

bash 复制代码
cat ~/.docker/config.json

你大概率会看到类似:

bash 复制代码
{
  "credsStore": "desktop"
}

直接去掉 credsStore(最简单)

编辑文件:

bash 复制代码
nano ~/.docker/config.json
相关推荐
虎头金猫20 小时前
4K 视频总卡在公网带宽?用 N1 + OpenList 把网盘播放链路重新理顺
运维·服务器·网络·python·容器·beautifulsoup·pandas
分布式存储与RustFS20 小时前
MinIO 官方 Docker 镜像被移除:依赖它的项目该怎么办
docker·云原生·devops·对象存储·minio·分布式存储
玉&心1 天前
通过Arthas在线诊断K8S中的内存及JVM等使用情况
docker·k8s·arthas
xing-xing1 天前
Docker容器中Nginx站点根目录网页配置访问
nginx·docker
赵文宇(温玉)1 天前
CoreDNS的hosts插件的缺行配置导致k8s集群异常
容器·kubernetes·rancher
guo_wen_qiang1 天前
上传本地镜像到harbor中
docker·容器·持续部署
羑悻的小杀马特1 天前
Dockerfile 全景指南:从入门编写dockerfile到生产环境镜像优化实战,一步步带你从啃透制作指令到镜像制作落地!
docker·dockerfile·镜像制作
BianHuanShiZhe1 天前
docker常见命令
docker
正经教主1 天前
【FDE系列】阶段2:Day 43:Docker Compose — 多容器一键编排
人工智能·docker·fde
忆~遂愿1 天前
本地片库怎么在外面打开?Plex + cpolar 搭一套可远程访问的私人影音库
docker·容器