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
相关推荐
liebe1*114 分钟前
第九章 防火墙入侵防御
运维·网络·防火墙
Radan小哥25 分钟前
Docker学习笔记—day012
笔记·学习·docker
橘子真甜~1 小时前
C/C++ Linux网络编程13 - 传输层TCP协议详解(面向字节流和有连接)
linux·运维·服务器·c语言·网络·c++·tcp/ip
qq_5470261791 小时前
Docker 搭建Nexus3私服
运维·docker·容器
June`1 小时前
SSH连接原理与守护进程实战
linux·运维·服务器
古城小栈1 小时前
K3s + 边缘 AI:轻量级 K8s 在嵌入式设备的部署
人工智能·容器·kubernetes
小道士写程序2 小时前
Kubernetes 1.23.17 集群部署完全记录(单点)
云原生·容器·kubernetes
driver19992 小时前
hyperV装的windows11安装docker不支持虚拟化
运维·docker·容器
_OP_CHEN2 小时前
【Git原理与使用】(五)Git 多人协作:从分支协作到冲突解决,团队开发效率翻倍秘籍
linux·运维·git·团队开发·运维开发·企业级组件·git多人协作
warrah2 小时前
docker portainer的应用
docker