08、docker pull nacos/nacos-server慢解决方案

1. 修改docker镜像源

复制代码
vim /etc/docker/daemon.json

daemon.json

复制代码
{
  "registry-mirrors": [
    "http://hub-mirror.c.163.com",
    "http://mirrors.ustc.edu.cn",
    "https://github.com/ustclug/mirrorrequest",
    "http://mirror.azure.cn",
    "https://github.com/Azure/container-service-for-azure-china",
    "https://hub.docker.com",
    "https://cr.console.aliyun.com",
    "https://console.cloud.google.com/gcr/images/google-containers/GLOBAL",
    "https://quay.io/repository",
    "https://access.redhat.com/containers"
  ]
}

ps

复制代码
网易:http://hub-mirror.c.163.com
中科大镜像地址:http://mirrors.ustc.edu.cn/
中科大github地址:https://github.com/ustclug/mirrorrequest
Azure中国镜像地址:http://mirror.azure.cn/
Azure中国github地址:https://github.com/Azure/container-service-for-azure-china
DockerHub镜像仓库: https://hub.docker.com/ 
阿里云镜像仓库: https://cr.console.aliyun.com 
google镜像仓库: https://console.cloud.google.com/gcr/images/google-containers/GLOBAL (如果你本地可以翻墙的话是可以连上去的 )
coreos镜像仓库: https://quay.io/repository/ 
RedHat镜像仓库: https://access.redhat.com/containers

2. 重启docker

复制代码
systemctl restart docker

3. 拉取nacos镜像

复制代码
docker pull nacos/nacos-server
相关推荐
YC运维6 分钟前
OSPF实验以及核心原理全解
运维·网络·网络协议·智能路由器
❀͜͡傀儡师8 分钟前
docker 安装数据集成平台 Apache SeaTunnel 服务
docker·容器
超级小忍36 分钟前
Spring Boot 与 Docker 的完美结合:容器化你的应用
spring boot·后端·docker
许白掰2 小时前
Linux入门篇学习——Linux 工具之 make 工具和 makefile 文件
linux·运维·服务器·前端·学习·编辑器
B1nna3 小时前
Docker学习
学习·docker·容器
缘友一世3 小时前
网安系列【15】之Docker未授权访问漏洞
docker·容器
AmosTian9 小时前
【系统与工具】Linux——Linux简介、安装、简单使用
linux·运维·服务器
YC运维10 小时前
RIP实验以及核心原理
运维·网络·智能路由器
慕木兮人可10 小时前
Docker部署MySQL镜像
spring boot·后端·mysql·docker·ecs服务器