CentOS installation Docker error (containerd.io version is too low) and resolution process

CentOS installation Docker error message:

问题: package docker-ce-3:19.03.2-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
- cannot install the best candidate for the job
- package containerd.io-1.2.2-3.3.el7.x86_64 is excluded
- package containerd.io-1.2.2-3.el7.x86_64 is excluded
- package containerd.io-1.2.4-3.1.el7.x86_64 is excluded
- package containerd.io-1.2.5-3.1.el7.x86_64 is excluded
- package containerd.io-1.2.6-3.3.el7.x86_64 is excluded
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

   Examination revealed containerd.io this package is installed, but is version 1.2.0; it is the cause of this failure is containerd.io installation package version is too low

Solution:

  1. Check Docker version, low installation version, without installing a new version Docker (this is not to introduce cumbersome installation process of a lower version)

    [Root @ localhost ~] # yum list docker-ce --showduplicates | sort -r // Check the appropriate package version

 

     [Root @ localhost ~] # yum -y install docker-ce-18.06.0.ce-3.el7 // install a lower version of the package

Guess you like

Origin www.cnblogs.com/360minitao/p/12186543.html