docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon run

2022-06-14 18:18:18 浏览数 (1)

果然便宜没好货,之前买的国外的一台小服务商的  vpsVirtualization Type 是 OpenVZ ,装了 docker 之后想运行,就会出现这个:docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

代码语言:javascript复制
service docker restart

重启也没有软用。最后查看 docker 的日志

代码语言:javascript复制
tail -5f /var/log/upstart/docker.log

返回

time=”2017-05-20T08:07:44.991810877-04:00″ level=fatal msg=”Your Linux kernel version 2.6.32-042stab094.7 is not supported for running docker. Please upgrade your kernel to 3.10.0 or newer.” /var/run/docker.sock is up

泪奔….内核太低,不能用。

0 人点赞