安装旧版本docker-ce

安装kubernetes的时候1.10.x, 支持最高版本的docker版本为17.03

现在安装docker-ce的版本为18.x

所以要安装一个旧版本.

但安装的时候报错, github的issue里面有对应的解决方法

https://github.com/moby/moby/issues/33930


下面是引用andrewhsu的回复

A new obsoletes restriction was introduced in docker-ce 17.06.0 and it looks like the yum repo is applying it to all versions of the docker-ce indiscriminately. To work around this when installing older versions of docker-ce, you can pass a flag to ignore obsoletes:

$ yum install -y --setopt=obsoletes=0 \

  docker-ce-17.03.1.ce-1.el7.centos \

  docker-ce-selinux-17.03.1.ce-1.el7.centos

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 简单版: 1.执行命令curl -sSL https://get.daocloud.io/docker | sh ...
    Yetta的书影屋阅读 4,270评论 0 49
  • 背景: 阅读新闻 12C CDB模式下RMAN备份与恢复 [日期:2016-11-29] 来源:Linux社区 作...
    阳屯okyepd阅读 3,642评论 0 7
  • 1、先决条件 安装Docker CE,您需要CentOS 7的维护版本。 需要启用centos-extras仓库。...
    DanielJI阅读 429评论 0 0
  • 2017年3月14日23:57分 你没有回来,又是在最后的时候才告诉我这个消息,我说如果你想冷静冷静那就收拾好你的...
    洛小贰阅读 347评论 0 0
  • 创作的想象 后来 我只是爱上了思念的感觉,思念一个人,比平静时的独处和安然要幸福许多,虽然偶尔还有苦涩。我相信,岁...
    蚁公主阅读 98评论 1 3