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
相关推荐
t***316520 分钟前
Docker 之mysql从头开始——Docker下mysql安装、启动、配置、进入容器执行(查询)sql
sql·mysql·docker
Eric.Lee20211 小时前
ubuntu 安装 Miniconda
linux·运维·python·ubuntu·miniconda
杭州泽沃电子科技有限公司1 小时前
在线监测:为医药精细化工奠定安全、合规与质量基石
运维·人工智能·物联网·安全·智能监测
行初心1 小时前
uos基础 cupsd.conf 查看打印服务的配置文件
运维
1***y1782 小时前
Git在发布流程中的自动化标签
运维·git·自动化
8***84822 小时前
如何在Linux中找到MySQL的安装目录
linux·运维·mysql
爱喝矿泉水的猛男2 小时前
ssh远程访问另一台windows(可扩展到docker环境)
docker·ssh·zerotier
9***J6282 小时前
Linux下PostgreSQL-12.0安装部署详细步骤
linux·运维·postgresql
gggg远3 小时前
docker详解
运维·docker·容器
wanhengidc3 小时前
云手机中的数据通常存储在哪里?
运维·服务器·安全·web安全·智能手机