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
相关推荐
被漂一组20 分钟前
在线解决window和linux对linux远程问题
linux·运维·服务器
-指短琴长-2 小时前
CGroups资源控制实战【Linux】
linux·运维·服务器
冲上云霄的Jayden2 小时前
修改 Docker 容器中 MySQL 8.0 默认编码为 utf8mb4_unicode_ci
utf-8·mysql·ci/cd·docker·utf8mb4
zwjapple2 小时前
react+springboot的Docker部署
docker·部署·springboot·react
雪碧聊技术3 小时前
Linux命令过关挑战
linux·运维·数据库
ayaya_mana3 小时前
CentOS 7 安装指定内核版本与切换内核版本
linux·运维·centos
遇见火星3 小时前
Docker入门:快速部署你的第一个Web应用
前端·docker·容器
你什么冠军?4 小时前
云计算与服务器概述
运维·服务器·云计算
UNbuff_04 小时前
Linux top 命令使用说明
linux·运维·服务器
YC运维4 小时前
Jenkins 安装,自动化全方位详解文档
运维·自动化·jenkins