zl程序教程

您现在的位置是:首页 >  工具

当前栏目

Docker 加速配置——筑梦之路

Docker配置 加速 筑梦之路
2023-09-14 09:09:35 时间
docker拉取镜像很慢,主要是因为docker hub在国外,因此国内使用配置加速很有必要

国内公共的加速:

{
  "registry-mirrors": [
    "https://registry.docker-cn.com",     #中国区官方镜像
    "http://hub-mirror.c.163.com",        #网易
    "https://docker.mirrors.ustc.edu.cn"  #中科大
  ]
}

专属加速地址获取

阿里云:https://cr.console.aliyun.com/  点击“创建我的容器镜像”,得到专属加速地址

道客云:https://www.daocloud.io/mirror

这是比较常用的两个