记一次CentOS Install Docker 报错
问题: 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)
检查发现containerd.io此软件包已经安装,但版本是1.2.0;所以造成这种安装失败的原因是containerd.io软件包版本过低
解决方法:
1.检查Docker版本,安装低版本,不进行安装新版本Docker(在此就不繁琐介绍低版本的安装过程了)
检查相应的软件包版本
yum list docker-ce --showduplicates | sort -r
安装低版本的软件包
yum -y install docker-ce-18.06.0.ce-3.el7
2.安装新版的containerd.io软件包
containerd.io软件包下载地址:https://download.docker.com/linux/centos/7/x86_64/edge/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm
下载相关软件包
wget https://download.docker.com/linux/centos/7/x86_64/edge/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm
升级containerd.io软件包
yum -y install containerd.io-1.2.6-3.3.el7.x86_64.rpm
安装完成后重新安装Docker
安装Docker软件包
yum -y install docker-ce
安装完成后启动Docker
systemctl start docker //CentOS7启动方法
server docker start //CentOS6启动方法
systemctl start docker
记一次CentOS Install Docker 报错相关推荐
- CentOS 8 安装 Docker 报错 requires containerd.io >= 1.4.1, but none of the providers can be installed
CentOS 8.1安装 Docker 官方参考地址:https://docs.docker.com/install/linux/docker-ce/centos/ 里面包含包下载地址:https:/ ...
- CentOS 8.0 安装docker 报错:Problem package docker-ce-3 19.03.4-3.el7.x86_64 require
文章目录 CentOS 8.0 安装docker 报错:Problem: package docker-ce-3:19.03.4-3.el7.x86_64 requires containerd.io ...
- 安装docker报错 Requires: fuse-overlayfs >= 0.7
原因:安装时出现错误docker,centos7.9 安装docker报错 Requires: fuse-overlayfs >= 0.7 el7.x86_64 ---> Package ...
- centos 安装MySQL报错You could try using --skip-broken to work around the problem You could try running:
centos 安装MySQL报错You could try using --skip-broken to work around the problem You could try running: ...
- docker报错:System has not been booted with systemd as init system (PID 1). Can‘t operate.
docker使用centos7命令 systemctl 报错 $ systemctl status firewalld System has not been booted with systemd ...
- docker报错Error response from daemon: Get https://registry-1.docker.io/v2/: x509
docker报错 Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate has exp ...
- docker报错:driver failed programming external connectivity on endpoint, iptables:No chain by that name
docker 报错: Error response from daemon: Cannot restart container hello: driver failed programming ext ...
- linux yum install libsdl-dev 报错:No package libsdl-dev available 解决方法
执行 $ yum install libsdl-dev 报错:No package libsdl-dev available. 解决办法: $ yum search sdl | grep devel ...
- pip install jupyter报错30ERROR
pip install juptyer报错30ERROR 报的错误如下: 30ERROR: Exception: Traceback (most recent call last):File &quo ...
最新文章
- 「深度」线下大数据正成为构建精准“用户画像”的最大助力
- php数组保存txt,php将数组存储为文本文件方法汇总,_PHP教程
- python dataframe删除指定行_pandas.DataFrame删除/选取含有特定数值的行或列
- 移动硬盘上划分linux分区,Linux下磁盘分区和移动硬盘的挂载方法有哪些?
- python 行列式计算
- java编码给出二维数组List<List<Integer>>matrix,输出每列最小的值
- 【英语学习】【WOTD】remittance 释义/词源/示例
- 改变权限Linux,Linux chmod改变权限属性命令
- centos7+mysql5.7二进制安装
- 阶段5 3.微服务项目【学成在线】_day03 CMS页面管理开发_02-自定义查询页面-服务端-接口开发...
- java多线程下载图片_java多线程批量下载图片(通用版)
- STM32f103正点原子小白 FLYMcu串口
- 代码行数统计工具loc与iloc
- c++入门 简单语句 空语句 作用域和块 复合语句
- python报IndentationError: unexpected indent的解决方法.
- pandas.plotting.scatter_matrix 参数
- 多元微积分_旋度1.正负0旋度
- 日淘转运公司的横向对比 及如何选择转运渠道和增值服务
- 图解ARP协议(三)ARP防御篇-如何揪出“内鬼”并“优雅的还手”
- JavaScript去除数组重复的元素且都不保留