1. 登录阿里开发者平台:
https://dev.aliyun.com/search.html,https://cr.console.aliyun.com/#/accelerator,生成专属链接
我的链接:https://f0tliqoc.mirror.aliyuncs.com
2、配置运行docker
修改Docker配置文件
这里 CentOS7.0, docker版本是1.12, 所以步骤如下:
配置文件 :
vim usr/lib/systemd/system/docker.service
vi usr/lib/systemd/system/docker.service
添加部分 "ExecStart" ExecStart=/usr/bin/dockerd --registry-mirror=https://f0tliqoc.mirror.aliyuncs.com
保存文件
重新加载配制:$ systemctl daemon-reload
重新启动服务:$ service docker restart
可以快速拉取你的镜像啦!!!!!!!!!!!!!!!!!