【问题标题】:Docker failed to start daemon: Devices cgroup isn't mounted [Debian GNU/Linux 9 (stretch) ] armv7lDocker 无法启动守护进程:设备 cgroup 未安装 [Debian GNU/Linux 9 (stretch)] armv7l
【发布时间】:2020-02-18 02:35:59
【问题描述】:

docker.log

time="2020-02-18T10:05:51.740757000+08:00" level=error msg="'overlay' not found as a supported filesystem on this host. 请确保内核足够新并且已加载覆盖支持。”存储驱动程序=覆盖2 time="2020-02-18T10:05:51.747446000+08:00" level=error msg="AUFS was not found in /proc/filesystems" storage-driver=aufs time="2020-02-18T10:05:51.758181000+08:00" level=error msg="'overlay' not found as a supported filesystem on this host. 请确保内核足够新并加载了覆盖支持。"存储驱动程序=覆盖 time="2020-02-18T10:05:51.990661000+08:00" level=error msg="不支持 Udev 同步。这将导致数据丢失和意外行为。安装更新版本的 libdevmapper 或选择不同的存储驱动程序。有关详细信息,请参阅https://docs.docker.com/engine/reference/commandline/dockerd/#storage-driver-options" storage-driver=devicemapper time="2020-02-18T10:05:52.146274000+08:00" level=warning msg="你的内核不支持 cgroup 内存限制" time="2020-02-18T10:05:52.146389000+08:00" level=warning msg="Unable to find cpu cgroup in mounts" time="2020-02-18T10:05:52.146445000+08:00" level=warning msg="Unable to find blkio cgroup in mounts" time="2020-02-18T10:05:52.146504000+08:00" level=warning msg="Unable to find cpuset cgroup in mounts" time="2020-02-18T10:05:52.146553000+08:00" level=warning msg="找不到 pids 的挂载点" time="2020-02-18T10:05:52.149506000+08:00" level=info msg="正常关机后停止运行状况检查" module=libcontainerd time="2020-02-18T10:05:52.160535000+08:00" level=info msg="正常关机后停止事件流" error="context cancelled" module=libcontainerd namespace=plugins.moby 无法启动守护进程:设备 cgroup 未安装

码头工人版本

客户:Docker 引擎 - 社区 版本:19.03.6 API版本:1.40 围棋版本:go1.12.16 Git 提交:369ce74 建成:2020 年 2 月 13 日星期四 01:40:25 操作系统/架构:linux/arm 实验:错误 无法连接到 unix:///var/run/docker.sock 上的 Docker 守护程序。 docker 守护进程是否正在运行?

【问题讨论】:

  • cat /etc/fstab none /sys/fs/cgroup cgroup defaults 0 0

标签: docker debian


【解决方案1】:

我有这个字面上的书签,每次我需要在我的网络启动 Alpine 上启动 docker 时我都会去这里。挂载 cgroup 伪文件的单个命令,无需接触 fstab:

sudo mount -t cgroup cgroup /sys/fs/cgroup

仅供参考:这也可能是由于您的内核没有编译 cgroup 支持造成的,但这种可能性极小。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-10-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-03-07
    • 2020-12-10
    相关资源
    最近更新 更多