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
相关推荐
日取其半万世不竭6 小时前
用 Portainer 可视化管理 Docker:容器再多也不用背命令了
运维·docker·容器
动恰客流统计9 小时前
ReID边缘计算视觉统计:餐饮店客流增长的数字化破局路径
java·大数据·运维·人工智能
张忠琳9 小时前
【NVIDIA】NVIDIA Container Toolkit v1.19.1--07-NVCDI模块:CDI Spec生成引擎深度分析之七
云原生·容器·架构·kubernetes·nvidia
沉迷学习 日益消瘦11 小时前
01-Kubernetes 入门:概念与安装
云原生·容器·kubernetes
weixin_4196583112 小时前
Docker 搭建 Jenkins 服务
java·docker·jenkins
砍材农夫13 小时前
运维|devops|jenkins构建应用发布
运维·jenkins·devops
△曉風殘月〆13 小时前
如何在Linux中安装Qt开发环境
linux·运维·qt
BullSmall15 小时前
Tomcat 部署 Jenkins → Docker Jenkins 完整迁移方案
docker·tomcat·jenkins
糟糕喔15 小时前
k8s-云原生cicd
云原生·容器·kubernetes
雨的旋律209915 小时前
ubuntu2604
linux·运维·服务器