在Centos8环境安装docker的时候报错:

Error:
 Problem: problem with installed package podman-1.6.4-10.module_el8.2.0+305+5e198a41.x86_64
  - package podman-1.6.4-10.module_el8.2.0+305+5e198a41.x86_64 requires runc >= 1.0.0-57, but none of the providers can be installed
  - package containerd.io-1.3.7-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-65.rc10.module_el8.2.0+305+5e198a41.x86_64
  - package containerd.io-1.3.7-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-65.rc10.module_el8.2.0+305+5e198a41.x86_64
  - package docker-ce-3:19.03.13-3.el8.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  - conflicting requests
  - package runc-1.0.0-64.rc10.module_el8.2.0+304+65a3c2ac.x86_64 is filtered out by modular filtering
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

这个问题搜了两个发现 low code,于是就进入了stackoverflow,于是就解决了!!!

啥都不说直接运行俩命令:

yum erase podman buildah
yum install docker-ce|dnf install docker-ce

注意啊“|”表示或。

感谢观看!!!!!!!!!!!!!!!!!!!!!!!!!!

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐