qflow:qa:q102
q102 rocky 8.10 安装 docker 报错
symptom 现象
[lxkt@localhost ~]$ sudo dnf install -y docker-ce docker-ce-cli containerd.io Last metadata expiration check: 0:00:32 ago on Thu 02 Jul 2026 02:28:26 PM CST. Error: Problem 1: problem with installed package podman-4:4.9.4-1.module+el8.10.0+1815+5fe7415e.x86_64 - package podman-4:4.9.4-1.module+el8.10.0+1815+5fe7415e.x86_64 from @System requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-1.module+el8.10.0+1815+5fe7415e.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-1.module+el8.10.0+1825+623b0c20.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-12.module+el8.10.0+1843+6892ab28.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-13.module+el8.10.0+1871+e6fa1069.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-13.module+el8.10.0+1874+ce489889.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-15.module+el8.10.0+1880+8e896d1b.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-18.module+el8.10.0+1896+b18fa106.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-19.module+el8.10.0+1933+1fc610b1.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-20.module+el8.10.0+1948+4b5cd4a9.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-20.module+el8.10.0+2001+6a33db9f.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-22.module+el8.10.0+2006+320bb1e5.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-23.module+el8.10.0+2064+309a12a4.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-25.module+el8.10.0+40047+0c0a73f4.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-26.module+el8.10.0+40066+670062d8.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-27.module+el8.10.0+40068+51711525.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-28.module+el8.10.0+40087+cfe9c127.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-3.module+el8.10.0+1829+9bb2696f.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed - package podman-4:4.9.4-30.module+el8.10.0+40133+32c21f88.x86_64 from appstream requires runc >= 1.0.0-57, but none of the providers can be installed
原因
系统中已经安装了 Podman(它依赖 runc),与正在尝试安装 Docker(它也包含自己的 runc),两者发生了冲突。
解决方案
# 移除 Podman 及其依赖 sudo dnf remove -y podman podman-* buildah skopeo # 清理可能残留的 runc 冲突 sudo dnf remove -y runc # 重新安装 Docker sudo dnf install -y docker-ce docker-ce-cli containerd.io
qflow/qa/q102.txt · 最后更改: 2026/07/01 14:51 由 127.0.0.1

评论