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
相关推荐
maosheng11463 小时前
RHCSA的第一次作业
linux·运维·服务器
旺仔.2914 小时前
Linux 信号详解
linux·运维·网络
Hoshino.415 小时前
基于Linux中的数据库操作——下载与安装(1)
linux·运维·数据库
Lxinccode5 小时前
docker(28) : 别名配置
docker·容器·eureka·docker别名
恒创科技HK6 小时前
通用型云服务器与计算型云服务器:您真正需要哪些配置?
运维·服务器
吴佳浩 Alben6 小时前
GPU 生产环境实践:硬件拓扑、显存管理与完整运维体系
运维·人工智能·pytorch·语言模型·transformer·vllm
播播资源7 小时前
CentOS系统 + 宝塔面板 部署 OpenClaw源码开发版完整教程
linux·运维·centos
学不完的7 小时前
Docker数据卷管理及优化
运维·docker·容器·eureka
lay_liu7 小时前
Linux安装redis
linux·运维·redis
曾经拒绝刘亦菲9 小时前
Clamav在麒麟V10离线安装指南
运维