centos8 安装docker报错Error: Unable to find a match: docker centos8 安装docker报错Problem: package docker-ce-3:19.03.8-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
Problem: package docker-ce-3:19.03.8-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.13-3.1.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
以上两个问题按照如下顺序都能解决。亲测!!
- 首先更新一下:yum -y update
- centos8默认使用podman代替docker,所以需要containerd.io,那我们就安装一下就好了
yum install https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm
- 安装一些其他依赖
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
- 安装docker
yum install -y docker-ce
- 启动docker
systemctl start docker
- 使用docker命令
文章图片
【docker|centos8 安装docker报错Error: Unable to find a match: docker】参考自:https://blog.csdn.net/qq_36643282/article/details/105190759
推荐阅读
- epoll|linux下多路复用实现之Epoll
- Linux|linux命令---GNU awk介绍
- linux|linux shell程序设计实验报告,linux的shell脚本实验报告
- linux|linux 山东大学 试卷_【Linux】山东大学Linux应用课程复习指导例题答案
- linux|linux shell程序设计实验报告,linux-shell编程实验报告
- linux|如何将dtb反编译成dts
- Linux|熟悉Linux Shell
- liunx|服务器文件复制到远程服务器
- linux|shell命令以及运行原理和Linux权限