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
解决办法:
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
修改后效果如下:
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!