nothing provides libcgroup needed by docker-ce-3:19.03.13-3.el8.x86_64
时间: 2024-03-21 21:41:51 浏览: 169
这个错误提示是因为安装 docker-ce-3:19.03.13-3.el8.x86_64 时缺少 libcgroup 库,需要先安装 libcgroup 库,才能成功安装 docker-ce。
你可以通过以下命令来安装 libcgroup 库:
```
sudo yum install libcgroup
```
安装完成后,再重新安装 docker-ce,应该就可以成功了。
相关问题
conflicting requests - nothing provides libcgroup needed by docker-ce-3:24.0.2-1.el8.x86_64 如何解决
这个错误提示意味着要安装 docker-ce-3:24.0.2-1.el8.x86_64 需要 libcgroup 库,但是这个库在你的系统中并不存在。
你可以尝试以下命令安装 libcgroup 库:
```
sudo dnf install libcgroup
```
如果这个命令不能解决问题,你可以尝试安装一个不依赖 libcgroup 库的旧版 docker-ce,或者考虑使用其他的容器解决方案,如 Podman。
cannot install the best candidate for the job - nothing provides libcgroup needed by docker-ce-3:24.0.2-1.el8.x86_64
It seems that you are trying to install docker-ce version 3:24.0.2-1.el8.x86_64, but it requires libcgroup which is not available on your system. You can try installing libcgroup manually and then retry installing docker-ce. To install libcgroup on CentOS/RHEL 8, you can use the following command:
```
sudo dnf install libcgroup
```
After installing libcgroup, you can retry installing docker-ce. If you still face any issues, please let me know.
阅读全文