惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

W
WeLiveSecurity
T
The Exploit Database - CXSecurity.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
Security @ Cisco Blogs
T
Threat Research - Cisco Blogs
TaoSecurity Blog
TaoSecurity Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
腾讯CDC
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
F
Full Disclosure
博客园 - 【当耐特】
C
CERT Recently Published Vulnerability Notes
Engineering at Meta
Engineering at Meta
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
Threatpost
I
Intezer
V2EX - 技术
V2EX - 技术
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
小众软件
小众软件
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
B
Blog RSS Feed
Microsoft Security Blog
Microsoft Security Blog
N
News | PayPal Newsroom
MyScale Blog
MyScale Blog
AI
AI
Vercel News
Vercel News
Spread Privacy
Spread Privacy
美团技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The GitHub Blog
The GitHub Blog
V
Vulnerabilities – Threatpost
Schneier on Security
Schneier on Security
Cyberwarzone
Cyberwarzone
G
GRAHAM CLULEY
Help Net Security
Help Net Security
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
L
LINUX DO - 热门话题
U
Unit 42
L
LangChain Blog
Recent Announcements
Recent Announcements

博客园 - 三角形

ESXi 不认SN640 SN750 等容量大的 NVME 出租司机给我上的MBA课 -- 转载(文末有18年后的续集) 飞牛影视配置独立端口号,不与飞牛公用web端口 esxi 7 定时关机 Oracle RAC 部署 (VMware共享磁盘配置方法) esxi 无法在浏览器中关闭虚拟机 使用Rocky Linux 快速部署虚拟化环境,浏览器访问,开源免费 Esxi 使用 RDM (Raw Device Mapping) 功能直接将磁盘分配给虚拟机,直通 esxi重装后,之前的卷没能自动挂载 OpenSSH 远程代码执行漏洞(CVE-2024-6387) Ubuntu22.04 和 centos7处理方法 部署SFTP服务,并限制访问目录 esxi 虚拟机 导出 & 导入 QYN2 2025年免费收徒(运维) XFS误删除文件,数据恢复 在esxi上:获取vm列表,批量给vm关机,批量给vm强制关机 esxi主机,自动创建30个vm,并自动完成vm初始化操作 自动查询12306余票,结果以txt形式放到nginx网站目录下 ubuntu自动下载电视剧《鸣龙少年》
Docker镜像加速器,检测失效 & 测速
三角形 · 2026-03-26 · via 博客园 - 三角形

因为过程中要频繁重启Docker,所以不要在正常跑容器的机器上面执行!!!

因为过程中要频繁重启Docker,所以不要在正常跑容器的机器上面执行!!!

因为过程中要频繁重启Docker,所以不要在正常跑容器的机器上面执行!!!

脚本代码:

 1 #!/bin/bash
 2 echo '
 3 https://cloudsx.top
 4 https://docker.xuanyuan.me
 5 https://docker.1ms.run
 6 https://docker.hpcloud.cloud
 7 https://docker.m.daocloud.io
 8 https://docker.unsee.tech
 9 https://docker.1panel.live
10 https://mirrors.ustc.edu.cn
11 https://docker.chenby.cn
12 https://mirror.azure.cn
13 https://dockerpull.org
14 https://dockerhub.icu
15 https://hub.rat.dev
16 https://proxy.1panel.live
17 https://docker.1panel.top
18 https://hub.geekery.cn
19 https://docker.rainbond.cc
20 https://docker.ketches.cn
21 https://docker.m.daocloud.io
22 https://docker.imgdb.de
23 https://docker-0.unsee.tech
24 https://docker.hlmirror.com
25 https://docker.1ms.run
26 https://func.ink
27 https://lispy.org
28 https://docker.xiaogenban1993.com
29 ' | while read URL
30 do
31     [ -z "$URL" ] && continue
32     START=$(date +%s)
33     echo '{"registry-mirrors": ["'${URL}'"]}' > /etc/docker/daemon.json
34     systemctl daemon-reload 
35     systemctl reset-failed docker
36     systemctl restart docker
37     docker image prune -a -f &>/dev/null
38     docker pull nginx &>/dev/null || continue
39     END=$(date +%s)
40     echo -en "$((END - START))s\t$(docker image ls --no-trunc nginx:latest | grep nginx)\t$URL\n"
41 done

执行效果:

 1 root@OPS:~/shells# bash docker-t.sh 
 2 6s    nginx        latest    sha256:7150b3a39203cb5bee612ff4a9d18774f8c7caf6399d6e8985e97e28eb751c18   18 hours ago   240MB    https://cloudsx.top
 3 1s    nginx        latest    sha256:7150b3a39203cb5bee612ff4a9d18774f8c7caf6399d6e8985e97e28eb751c18   18 hours ago   240MB    https://docker.1ms.run
 4 1s    nginx        latest    sha256:7150b3a39203cb5bee612ff4a9d18774f8c7caf6399d6e8985e97e28eb751c18   18 hours ago   240MB    https://docker.m.daocloud.io
 5 37s    nginx        latest    sha256:7150b3a39203cb5bee612ff4a9d18774f8c7caf6399d6e8985e97e28eb751c18   18 hours ago   240MB    https://docker.1panel.live
 6 2s    nginx        latest    sha256:7150b3a39203cb5bee612ff4a9d18774f8c7caf6399d6e8985e97e28eb751c18   18 hours ago   240MB    https://hub.rat.dev
 7 2s    nginx        latest    sha256:7150b3a39203cb5bee612ff4a9d18774f8c7caf6399d6e8985e97e28eb751c18   18 hours ago   240MB    https://docker.m.daocloud.io
 8 7s    nginx        latest    sha256:7150b3a39203cb5bee612ff4a9d18774f8c7caf6399d6e8985e97e28eb751c18   18 hours ago   240MB    https://docker-0.unsee.tech
 9 6s    nginx        latest    sha256:7150b3a39203cb5bee612ff4a9d18774f8c7caf6399d6e8985e97e28eb751c18   18 hours ago   240MB    https://docker.hlmirror.com
10 1s    nginx        latest    sha256:7150b3a39203cb5bee612ff4a9d18774f8c7caf6399d6e8985e97e28eb751c18   18 hours ago   240MB    https://docker.1ms.run
11 6s    nginx        latest    sha256:7150b3a39203cb5bee612ff4a9d18774f8c7caf6399d6e8985e97e28eb751c18   18 hours ago   240MB    https://lispy.org