安装docker时,设置阿里云镜像源时,报错[Errno 14] curl#60 - “Peer‘s Certificate has expired.“
安装docker,设置阿里云镜像源时Could not fetch/save url https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo to file /etc/yum.repos.d/docker-ce.repo: [Errno 14] curl#60 - “Peer’s Certificate has expire
·
安装docker,设置阿里云镜像源时Could not fetch/save url https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo to file /etc/yum.repos.d/docker-ce.repo: [Errno 14] curl#60 - “Peer’s Certificate has expired.”
报错如下图:
解决方法:
- 没有做时间同步,只需做时间同步,
ntpdate ntp1.aliyun.com
最后只需重新执行yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
命令即可
更多推荐
已为社区贡献1条内容
所有评论(0)