curl#6 - "Could not resolve host: download.docker.com; Unknown error"
使用aliyun镜像
sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
出现及代表成功
Loaded plugins: fastestmirror adding repo from: http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo grabbing file http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo to /etc/yum.repos.d/docker-ce.repo repo saved to /etc/yum.repos.d/docker-ce.repo
开始安装docker
yum install docker-ce
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)