【Docker】Error: Problem: package docker-ce-3:18.09.9-3.el7.x86_64 requires containerd.io >= 1.2.2-3
containerd
containerd 是一个容器运行时和镜像生成工具,用于管理容器化应用程序的生命周期管理。 * 容器化应用程序管理、容器运行时和编排工具 * 有什么特点:容器管理工具、支持多种容器化应用程序管理和部署工具、易于使用和集成
项目地址:https://gitcode.com/gh_mirrors/co/containerd
免费下载资源
·
Error:
Problem: package docker-ce-3:18.09.9-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
安装报错
Error:
Problem: package docker-ce-3:19.03.6-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.10-3.2.el7.x86_64 is excluded
- 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)
解决方法:
先安装containerd.io
dnf install https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm
Last metadata expiration check: 0:20:48 ago on Tue 22 Sep 2020 09:49:38 AM CST.
containerd.io-1.2.6-3.3.el7.x86_64.rpm 3.1 MB/s | 26 MB 00:08
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
containerd.io x86_64 1.2.6-3.3.el7 @commandline 26 M
Installing dependencies:
container-selinux noarch 2:2.124.0-1.module_el8.2.0+305+5e198a41
AppStream 47 k
Enabling module streams:
container-tools rhel8
Transaction Summary
================================================================================
Install 2 Packages
Total size: 26 M
Total download size: 47 k
Installed size: 96 M
Is this ok [y/N]: yum install docker-ce
Is this ok [y/N]: y
Downloading Packages:
container-selinux-2.124.0-1.module_el8.2.0+305+ 1.8 MB/s | 47 kB 00:00
--------------------------------------------------------------------------------
Total 1.8 MB/s | 47 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: container-selinux-2:2.124.0-1.module_el8.2.0+305+5e1 1/2
Installing : container-selinux-2:2.124.0-1.module_el8.2.0+305+5e1 1/2
Running scriptlet: container-selinux-2:2.124.0-1.module_el8.2.0+305+5e1 1/2
Installing : containerd.io-1.2.6-3.3.el7.x86_64 2/2
Running scriptlet: containerd.io-1.2.6-3.3.el7.x86_64 2/2
Running scriptlet: container-selinux-2:2.124.0-1.module_el8.2.0+305+5e1 2/2
Running scriptlet: containerd.io-1.2.6-3.3.el7.x86_64 2/2
Verifying : container-selinux-2:2.124.0-1.module_el8.2.0+305+5e1 1/2
Verifying : containerd.io-1.2.6-3.3.el7.x86_64 2/2
Installed:
container-selinux-2:2.124.0-1.module_el8.2.0+305+5e198a41.noarch
containerd.io-1.2.6-3.3.el7.x86_64
Complete!
再安装docker-ce
# yum install docker-ce
Last metadata expiration check: 0:26:24 ago on Tue 22 Sep 2020 09:49:38 AM CST.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
docker-ce x86_64 3:19.03.13-3.el7 docker-ce-stable 24 M
Installing dependencies:
docker-ce-cli x86_64 1:19.03.13-3.el7 docker-ce-stable 38 M
libcgroup x86_64 0.41-19.el8 BaseOS 70 k
Transaction Summary
================================================================================
Install 3 Packages
Total download size: 63 M
Installed size: 273 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): libcgroup-0.41-19.el8.x86_64.rpm 3.2 MB/s | 70 kB 00:00
(2/3): docker-ce-19.03.13-3.el7.x86_64.rpm 2.4 MB/s | 24 MB 00:10
(3/3): docker-ce-cli-19.03.13-3.el7.x86_64.rpm 2.2 MB/s | 38 MB 00:17
--------------------------------------------------------------------------------
Total 3.7 MB/s | 63 MB 00:17
warning: /var/cache/dnf/docker-ce-stable-091d8a9c23201250/packages/docker-ce-19.03.13-3.el7.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 621e9f35: NOKEY
Docker CE Stable - x86_64 1.6 kB/s | 1.6 kB 00:00
Importing GPG key 0x621E9F35:
Userid : "Docker Release (CE rpm) <docker@docker.com>"
Fingerprint: 060A 61C5 1B55 8A7F 742B 77AA C52F EB6B 621E 9F35
From : https://download.docker.com/linux/centos/gpg
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : docker-ce-cli-1:19.03.13-3.el7.x86_64 1/3
Running scriptlet: docker-ce-cli-1:19.03.13-3.el7.x86_64 1/3
Running scriptlet: libcgroup-0.41-19.el8.x86_64 2/3
Installing : libcgroup-0.41-19.el8.x86_64 2/3
Running scriptlet: libcgroup-0.41-19.el8.x86_64 2/3
Installing : docker-ce-3:19.03.13-3.el7.x86_64 3/3
Running scriptlet: docker-ce-3:19.03.13-3.el7.x86_64 3/3
Verifying : libcgroup-0.41-19.el8.x86_64 1/3
Verifying : docker-ce-3:19.03.13-3.el7.x86_64 2/3
Verifying : docker-ce-cli-1:19.03.13-3.el7.x86_64 3/3
Installed:
docker-ce-3:19.03.13-3.el7.x86_64 docker-ce-cli-1:19.03.13-3.el7.x86_64
libcgroup-0.41-19.el8.x86_64
Complete!
GitHub 加速计划 / co / containerd
16.89 K
3.34 K
下载
containerd 是一个容器运行时和镜像生成工具,用于管理容器化应用程序的生命周期管理。 * 容器化应用程序管理、容器运行时和编排工具 * 有什么特点:容器管理工具、支持多种容器化应用程序管理和部署工具、易于使用和集成
最近提交(Master分支:2 个月前 )
b6d11788
Update errdefs to v1.0.0
6 天前
481692a8
docs/containerd-2.0.md: add more highlights
6 天前
更多推荐
已为社区贡献1条内容
所有评论(0)