开发者社区> 问答> 正文

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

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:~#
请问这是为什么

展开
收起
doubi2 2017-07-04 14:54:11 8138 0
3 条回答
写回答
取消 提交回答
  • 内核版本不够,我是通过换centos7.3系统,可以安装新版本的docker

    2019-07-17 21:21:47
    赞同 展开评论 打赏
  • docker对linux内核有要求的,换centos7.2装1.10.0以上的没问题

    2019-07-17 21:21:47
    赞同 展开评论 打赏
  • 旺旺:nectar2。

    题主您好,

    请问您的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#

    2019-07-17 21:21:47
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
应用 Docker 进行持续交付:用技术改变交付路程 立即下载
从Docker到容器服务 立即下载
构建基因数据应用生态系统—— docker in Bio/informatics 立即下载