您的位置: 首页 > 文章 > 使用docker获取镜像失败:Error response from daemon: Get https://index.docker.io/v1/s 使用docker获取镜像失败:Error response from daemon: Get https://index.docker.io/v1/s 分类: 文章 • 2024-01-30 23:30:40 使用docker 获取镜像失败 1、首先要在在/etc/docker/daemon.json添加阿里云镜像 使用命令:vi /etc/docker/daemon.json { “registry-mirrors”: [“https://registry.docker-cn.com”,“https://pee6w651.mirror.aliyuncs.com”] } 2、查看服务器DNS网络配置 使用命令vi /etc/resolv.conf 将该文件里的内容修改为以下: 最后就可以放心下载了