全新安装后无法连接到Docker守护程序 [英] Cannot connect to the Docker daemon after clean install

查看:431
本文介绍了全新安装后无法连接到Docker守护程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在ubuntu 14.04上安装docker.安装后,我遇到了一些问题,您可以在这里阅读它们:安装后未找到docker安装问题文件

I tried to install docker on my ubuntu 14.04. After Installation I had some issues you can read them here: docker installation issue file not found after installation

安装现已完成,但是当我运行 docker ps -a 时,出现此错误:

Installation is done now but when I run docker ps -a I got this error:

无法通过unix:///var/run/docker.sock连接到Docker守护程序.docker守护程序正在运行吗?

我以为没问题,我开始了.所以我跑了/etc/init.d/docker start

I thought okay no problem I start it. So I ran /etc/init.d/docker start

什么都没有改变.在这种情况下有什么问题?

Nothing changed. What is the issue in this case?

预先感谢

更新

Docker lock sais

Docker lock sais

time="2019-01-15T16:04:48.442161704Z" level=error msg="'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded." storage-driver=overlay2
time="2019-01-15T16:04:48.443237115Z" level=error msg="AUFS was not found in /proc/filesystems" storage-driver=aufs
time="2019-01-15T16:04:48.444209277Z" level=error msg="'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded." storage-driver=overlay
time="2019-01-15T16:04:48.448467742Z" level=info msg="Graph migration to content-addressability took 0.00 seconds"
time="2019-01-15T16:04:48.451222266Z" level=warning msg="Your kernel does not support oom control"
time="2019-01-15T16:04:48.451238804Z" level=warning msg="Your kernel does not support memory swappiness"
time="2019-01-15T16:04:48.451249423Z" level=warning msg="Your kernel does not support kernel memory limit"
time="2019-01-15T16:04:48.451255189Z" level=warning msg="Unable to find cpu cgroup in mounts"
time="2019-01-15T16:04:48.451287772Z" level=warning msg="Unable to find cpuset cgroup in mounts"
time="2019-01-15T16:04:48.451337670Z" level=warning msg="mountpoint for pids not found"
Error starting daemon: Devices cgroup isn't mounted

推荐答案

3.13是一个相当老的内核.安装最新的稳定的标准内核(3.19版的内核已支持overlay FS).主要的阻止者是cgroup问题.Cgroup必须可用.

3.13 is a quite old kernel. Install latest stable stock kernel (kernel from 3.19 has support for overlay FS). The main blocker is cgroup issue. Cgroups must be available.

其他有用的提示:错误在ubuntu 14.04上启动docker daemon(未安装设备cgroup)

这篇关于全新安装后无法连接到Docker守护程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆