Docker装了无数次,还是会遇到如此熟悉的问题,知道他是版本需要更新,但是就是找不到对应的,在网上找了差不多一个下午都没弄好。发现平时还是要多动脑子才行,既然知道是版本需要更新,那么到官网直接找版本,使用yum源再安装就可以了,为什么要去复制粘贴网上的,一个一个试下去。

Error: Package: 3:docker-ce-18.09.1-3.el7.x86_64 (docker-ce-stable)
           Requires: container-selinux >= 2.9
Error: Package: containerd.io-1.2.10-3.2.el7.x86_64 (docker-ce-stable)
           Requires: container-selinux >= 2:2.74
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

 

解决办法

yum -y install http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.107-1.el7_6.noarch.rpm

 

相关文章:

  • 2022-12-23
  • 2022-01-19
  • 2021-05-14
  • 2021-04-01
  • 2021-09-05
  • 2021-05-14
  • 2022-12-23
  • 2021-04-18
猜你喜欢
  • 2021-08-22
  • 2022-12-23
  • 2021-10-10
  • 2022-12-23
  • 2022-03-03
  • 2021-05-31
  • 2022-12-23
相关资源
相似解决方案