mirror of
				https://github.com/DaoCloud/public-image-mirror.git
				synced 2025-10-31 21:59:22 +08:00 
			
		
		
		
	
							
								
								
									
										13
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								README.md
									
									
									
									
									
								
							| @@ -3,6 +3,12 @@ | ||||
| [](https://github.com/DaoCloud/public-image-mirror/raw/gh-pages/daocloud-sync.log) | ||||
| [](https://github.com/DaoCloud/public-image-mirror/raw/gh-pages/daocloud-deep-sync.log) | ||||
|  | ||||
| Sync: 是 tag 的同步率 只要 tag 存在就是同步的 | ||||
|  | ||||
| Deep sync: 是 tag 内容同步率 (如 latest 这种 tag 会更新, tag 存在并不一定是最新的, 在这属于未同步) | ||||
|  | ||||
| 每天大约同步 1k 的 tag | ||||
|  | ||||
| ## 背景 | ||||
| 很多镜像都在国外。比如 gcr 。国内下载很慢,需要加速。 | ||||
|  | ||||
| @@ -18,15 +24,16 @@ | ||||
| docker run -d -P docker.m.daocloud.io/nginx | ||||
| ``` | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| ## 使用方法 | ||||
|  | ||||
| 支持的镜像仓库 的 *前缀替换* 就可以使用。比如: | ||||
|  | ||||
| k8s.gcr.io/coredns/coredns => k8s-gcr.m.daocloud.io/coredns/coredns | ||||
|  | ||||
| 或者增加前缀。比如: | ||||
|  | ||||
| k8s.gcr.io/coredns/coredns => m.daocloud.io/k8s.gcr.io/coredns/coredns | ||||
|  | ||||
| ## 支持的镜像源 | ||||
|  | ||||
| [domain.txt](domain.txt) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user