linux 安装 docker报错处理

复制代码
  在阿里云服务器**Linux系统尝试安装docker的时候报如下错误**,询问AI一直建议改DNS相关配置但是没用,最终通过查阅大量网络资料,建议更新dnf,最终成功安装docker.

yum install -y docker-ce

created by dnf config-manager from https://down 0.0 B/s | 0 B 00:00

Errors during downloading metadata for repository 'download':

  • Curl error (6): Couldn't resolve host name for https://download./repodata/repomd.xml Could not resolve host: download.
    Error: Failed to download metadata for repo 'download': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

先执行 sudo dnf update dnf命令再重新安装docker成功没有报错

相关推荐
orion5714 小时前
Missing Semester Class1:course overview and introduction of shell
linux
SkyWalking中文站18 小时前
认识 Horizon UI · 6/17:Trace 探索器
运维·监控·自动化运维
程序员老赵20 小时前
Docker 部署 Redmine:老牌开源项目管理部署实测记录
docker·开源·团队管理
用户1204872216120 小时前
Linux驱动编译与加载
linux·嵌入式
程序员老赵1 天前
服务器文件不想 SFTP 上传?Docker 跑个 File Browser,浏览器就能管理
服务器·docker·开源
火车叼位1 天前
写给初级开发者:SSL、SSH、HTTPS 与证书体系全解析
运维
用户805533698031 天前
Input 子系统架构:Core、Handler、Driver 三层是怎么协作的
linux·嵌入式
用户805533698031 天前
RK-Forge外设系列开篇 - 把板子从「能启动」变成「能用」:Ethernet/SPI/MMC 三个纯接线外设
linux·github·嵌入式
小猿姐1 天前
唯品会大规模数据库云原生实践:基于 KubeBlocks 管理数千实例的统一运维之路
运维·elasticsearch·云原生
七歌杜金房2 天前
我终于又有了自己的 Linux 电脑
linux·debian·mac