failure: repodata/repomd.xml from endpoint: [Errno 256] No more mirrors to try. https://packages.endpointdev.com/rhel/2.1903/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

failure: repodata/repomd.xml from endpoint: [Errno 256] No more mirrors to try. https://packages.endpointdev.com/rhel/2.1903/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error...

failure: repodata/repomd.xml from endpoint: [Errno 256] No more mirrors to try.

https://packages.endpointdev.com/rhel/2.1903/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

attachments-2023-09-CwsHrBNr6515656454a37.png


解决办法:

1 添加 docker仓库

yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

2 编辑 /etc/yum.repos.d/docker-ce.repo

sudo vi /etc/yum.repos.d/docker-ce.repo

3 找到[docker-ce-stable]

将下面语句注释掉

baseurl=https://download.docker.com/linux/centos/$releasever/$basearch/stable

改为如下内容:

baseurl=https://download.docker.com/linux/centos/7/$basearch/stable

修改后效果如下:

attachments-2023-09-3SIvUgus6515670431ef1.png

  • 发表于 2023-09-28 19:44
  • 阅读 ( 729 )

你可能感兴趣的文章

相关问题

0 条评论

请先 登录 后评论
东北大表哥
东北大表哥

自由职业

161 篇文章

作家榜 »

  1. 东北大表哥 161 文章
  2. 小鹄 1 文章
  3. 阿天 0 文章
  4. 新百胜在线 0 文章
  5. 刘明明 0 文章
  6. 个的德3 0 文章
  7. 铂天先生 0 文章
  8. 王达 0 文章