centos8 docker 安装报错 cloudreve也启动不了

查看 54|回复 3
作者:数流年   
[root@tpy-centos cloudreve]# sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
Repository base is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository AppStream is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository AppStream is listed more than once in the configuration
添加仓库自:https://download.docker.com/linux/centos/docker-ce.repo
[root@tpy-centos cloudreve]# sudo yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Repository base is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository AppStream is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository AppStream is listed more than once in the configuration
Docker CE Stable - x86_64                                                                                                                                                                                           41 kB/s |  57 kB     00:01   
created by dnf config-manager from https://download.docker.com/linux/centos/docker-ce.reposudo                                                                                                                     227  B/s | 386  B     00:01   
Errors during downloading metadata for repository 'download.docker.com_linux_centos_docker-ce.reposudo':
  - Status code: 404 for https://download.docker.com/linux/centos/docker-ce.reposudo/repodata/repomd.xml (IP: 13.32.121.111)
错误:为仓库 'download.docker.com_linux_centos_docker-ce.reposudo' 下载元数据失败 : Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@tpy-centos cloudreve]# sudo yum install -y yum-utils   wC3C2XbeCCYd1HWY  mriiyrrchqfcbhib  hxtfsxgjuvdmbgei
Repository base is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository AppStream is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository AppStream is listed more than once in the configuration
created by dnf config-manager from https://download.docker.com/linux/centos/docker-ce.reposudo                                                                                                                     219  B/s | 386  B     00:01   
Errors during downloading metadata for repository 'download.docker.com_linux_centos_docker-ce.reposudo':
  - Status code: 404 for https://download.docker.com/linux/centos/docker-ce.reposudo/repodata/repomd.xml (IP: 13.32.121.111)
错误:为仓库 'download.docker.com_linux_centos_docker-ce.reposudo' 下载元数据失败 : Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@tpy-centos cloudreve]#
[root@tpy-centos cloudreve]# sudo yum-config-manager \
> --add-repo \
> https://download.docker.com/linux/centos/docker-ce.repo
Repository base is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository AppStream is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository AppStream is listed more than once in the configuration
添加仓库自:https://download.docker.com/linux/centos/docker-ce.repo
[root@tpy-centos cloudreve]# sudo yum install docker-ce docker-ce-cli containerd.io
Repository base is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository AppStream is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository AppStream is listed more than once in the configuration
Docker CE Stable - x86_64                                                                                                                                                                                          1.4 kB/s | 3.5 kB     00:02   
created by dnf config-manager from https://download.docker.com/linux/centos/docker-ce.reposudo                                                                                                                      74  B/s | 386  B     00:05   
Errors during downloading metadata for repository 'download.docker.com_linux_centos_docker-ce.reposudo':
  - Status code: 404 for https://download.docker.com/linux/centos/docker-ce.reposudo/repodata/repomd.xml (IP: 13.32.121.29)
错误:为仓库 'download.docker.com_linux_centos_docker-ce.reposudo' 下载元数据失败 : Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@tpy-centos cloudreve]#
[root@tpy-centos cloudreve]#
[root@tpy-centos cloudreve]#
[root@tpy-centos cloudreve]# ./cloudreve
段错误
[root@tpy-centos cloudreve]#

仓库, 错误

initialheart   

仓库镜像配置有问题吧,不响应
检查设备网络和镜像配置
https://zhuanlan.zhihu.com/p/347643668
freelive   

可能是镜像仓库不稳定原因
https://www.cnblogs.com/CJ-cooper/p/15407527.html
https://blog.csdn.net/qq_41884378/article/details/116638117
如你是我   

curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
为何不用一键安装docker的脚本
您需要登录后才可以回帖 登录 | 立即注册

返回顶部