
如何使用域名+Cloudflare搭建自己的Docker镜像代理
由于一些众所周知的原因,dockerhub现在在国内无法直接访问了,在使用docker拉取镜像的时候会失败,然后就得去网上找各种第三方镜像加速器,但是这些加速器并不稳定,有时候过一段时间就得寻找新的镜像加速器。 如图,使用官方的镜像源会连接超时。 下载CentOS 7官方通用云镜像(qcow2格式) \[root@controller images\]# wget http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-2211.qcow2 2)上传镜像到Glance \[root@controller images\]#...