安装docker失败记录

系统信息:

Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux

按官方Debian 安装方法

这里写图片描述

在第二步出现

docker-engine : Depends: init-system-helpers (>= 1.18~) but it is not installable
Recommends: aufs-tools but it is not going to be installed
Recommends: cgroupfs-mount but it is not installable or
cgroup-lite but it is not installable
E: Unable to correct problems, you have held broken packages.

解决方法

wget http://launchpadlibrarian.net/173841617/init-system-helpers_1.18_all.deb
dpkg -i init-system-helpers_1.18_all.deb

docker 版本信息

Docker version 1.11.1, build 5604cbe

在第四步,出现:

docker: Error response from daemon: rpc error: code = 2 desc = “shim error: invalid argument”.

google下,结果并不多:
这里写图片描述

在这个页面中,https://github.com/docker/docker/issues/22037 也有人有相同的问题。

We didn’t drop support for 3.2 as this kernel was never supported: it just happens that 1.11 is the first “obviously” incompatible release. @crosbymichael confirmed that this is due to containerd-shim usage of PR_SET_CHILD_SUBREAPER (introduced in 3.4).

这里写图片描述

就是没有对3.2放弃支持,但它是一个明显不兼容的版本。所以建议你升级系统内核。然后关了这个主题。

但安装指南上没说3.2不兼容。所以搞不懂了。

这里写图片描述

记录下来,也让越到相同问题的人少走些弯路。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值