1.地址https://cr.console.aliyun.com/cn-hangzhou/instances/repositories

2.创建命名空间及镜像仓库,修改访问凭证即docker login 密码

3.配置阿里云等镜像加速(阿里云的加速地址绑定到个人滴) 。   vim /etc/docker/daemon.json  ,重启: systemctl daemon-reload   systemctl restart docker

{
  "registry-mirrors": ["https://xx5c3uuctjxx.mirror.aliyuncs.com","https://hub-mirror.c.163.com", "https://reg-mirror.qiniu.com"]
}

对比加速前后docker pull mysql速度提升约10倍

 

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐