admin管理员组文章数量:1400294
I started colima with containerd runtime. For any docker command
I am getting error Cannot connect to the Docker daemon at unix:///Users/myusername/.colima/docker.sock. Is the docker daemon running?
Note:When I performed the same with docker runtime, it works fine.
colima version: 0.8.1
.colima/default/daemon/daemon.log
time="2025-03-24T11:25:32+05:30" level=info msg="- - - - - - - - - - - - - - -"
time="2025-03-24T11:25:32+05:30" level=info msg="daemon started by colima"
time="2025-03-24T11:25:32+05:30" level=info msg="Run `/usr/bin/pkill -F /Users/myusername/.colima/default/daemon/daemon.pid` to kill the daemon"
time="2025-03-24T11:25:32+05:30" level=info msg="waiting for VM to start" context=inotify
time="2025-03-24T11:25:32+05:30" level=info msg="waiting 5 secs for VM" context=inotify
time="2025-03-24T11:25:38+05:30" level=info msg="waiting 5 secs for VM" context=inotify
time="2025-03-24T11:25:43+05:30" level=info msg="waiting 5 secs for VM" context=inotify
time="2025-03-24T11:25:53+05:30" level=info msg="waiting 5 secs for VM" context=inotify
time="2025-03-24T11:26:03+05:30" level=info msg="waiting 5 secs for VM" context=inotify
time="2025-03-24T11:26:08+05:30" level=info msg="waiting 5 secs for VM" context=inotify
time="2025-03-24T11:26:17+05:30" level=info msg="VM started" context=inotify
time="2025-03-24T11:26:27+05:30" level=error msg="error retrieving containerd namespaces: error running [lima sudo nerdctl namespace list -q], output: \"time=\\\"2025-03-24T11:26:26+05:30\\\" level=fatal msg=\\\"cannot access containerd socket \\\\\\\"/run/containerd/containerd.sock\\\\\\\": no such file or directory\\\"\", err: \"exit status 1\"" context=inotify
docker context ls
NAME DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR
default * Current DOCKER_HOST based configuration unix:///Users/myusername/.colima/docker.sock https://132.226.113.90:6443 (default) swarm
desktop-linux unix:///Users/myusername/.docker/run/docker.sock
rancher-desktop Rancher Desktop moby context unix:///Users/myusername/.rd/docker.sock
本文标签: Cannot connect to the Docker daemon using Colima with containerdStack Overflow
版权声明:本文标题:Cannot connect to the Docker daemon using Colima with containerd - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744256573a2597511.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论