无法链接到docker守护进程

docker 容器自动退出,再连就报错:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

我检查docker运行状态显示正在运行:

docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2023-03-27 17:06:55 CST; 1 months 28 days ago Docs: https://docs.docker.com Main PID: 1977 (dockerd) Tasks: 55 CGroup: /system.slice/docker.service └─1977 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

然后查看日志文件找到一条日志显示container更新了:


May 25 10:32:52 inspur-NF5280M6 docker.dockerd[36769]: time="2023-05-25T10:32:52+08:00" level=warning msg="containerd config version `1` has been deprecated and will be removed in containerd v2.0, please switch to version `2`, see https://github.com/containerd/containerd/blob/main/docs/PLUGINS.md#version-header"

然后我按照GitHub的导航操作了还是没解决这个报错,请问我改怎么解决这个问题?


请先 登录 后评论

1 个回答

omicsgene - 生物信息
擅长:重测序,遗传进化,转录组,GWAS

Windows系统的docker吗?

检查下右下角小鲸鱼是否正常运行

请先 登录 后评论
  • 1 关注
  • 0 收藏,1211 浏览
  • Mr.Black 提出于 2023-05-25 23:13

相似问题