为什么阿里云安装不了docker,为什么?????????????-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

为什么阿里云安装不了docker,为什么?????????????

doubi2 2017-07-04 14:54:11 3695

root@iZ2zejfbthvbzs5lxf37vjZ:~# uname -r
3.2.0-29-generic

root@iZ2zejfbthvbzs5lxf37vjZ:~# apt-get update
root@iZ2zejfbthvbzs5lxf37vjZ:~# apt-get install docker.io
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
docker.io : Depends: init-system-helpers (>= 1.18~) but it is not installable

         Depends: libdevmapper1.02.1 (>= 2:1.02.90) but 2:1.02.48-4ubuntu7.1 is to be installed
         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 going to be installed

E: Unable to correct problems, you have held broken packages.
root@iZ2zejfbthvbzs5lxf37vjZ:~#
请问这是为什么

Docker 容器
分享到
取消 提交回答
全部回答(3)
  • 一撕得杨阳
    2019-07-17 21:21:47

    内核版本不够,我是通过换centos7.3系统,可以安装新版本的docker

    0 0
  • java小渣渣
    2019-07-17 21:21:47

    docker对linux内核有要求的,换centos7.2装1.10.0以上的没问题

    0 0
  • dongshan8
    2019-07-17 21:21:47

    题主您好,

    请问您的ECS系统是Debian 8.8吗?曾修改过内核吗?

    root@iZ23jyp275rZ:/var/www/tbk# cat /etc/debian_version
    8.8

    root@iZ23jyp275rZ:/var/www/tbk# uname -a
    Linux iZ23jyp275rZ 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux

    update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
    Processing triggers for dbus (1.8.22-0+deb8u1) ...
    root@iZ23jyp275rZ:/var/www/tbk#

    0 0
添加回答
云原生
使用钉钉扫一扫加入圈子
+ 订阅

云原生时代,是开发者最好的时代

推荐文章
相似问题
推荐课程