Raspbian docker:来自守护进程的错误响应:cgroups:此系统不支持内存cgroup:unknown

问题描述 投票:6回答:2

嗨伙计们,我是码头工的新手,我插上我的PI3来测试一些东西,我已经面临一个错误,我无法想象自己。

所以我刚刚安装了raspbian和docker。

那是我的安装日志

install log

然后我尝试经典的hello-word测试

并且有日志

hello world test

docker raspberry-pi debian
2个回答
14
投票

看起来17.11.0有问题。

您可以尝试安装旧的如下吗?

$ sudo apt install docker-ce=17.09.0~ce-0~raspbian

或者等待修复。

(2017年12月5日) 它看起来2017-11-29-raspbian-stretch有同样的问题。为避免apt upgrade升级,请执行: sudo apt-mark hold docker-ce。 和unhold修复时。


7
投票

另一个解决方案是在行尾添加cgroup_enable=memory cgroup_memory=1中的/boot/cmdline.txt并重新启动。

© www.soinside.com 2019 - 2024. All rights reserved.