mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-04-18 22:25:22 +00:00
Replace defunct AtomHub mirror with docker.1ms.run
This commit is contained in:
@@ -14,9 +14,7 @@
|
||||
|
||||
* [阿里云加速器](https://cr.console.aliyun.com/cn-hangzhou/instances) (需登录获取个人加速地址)
|
||||
|
||||
本节以 [AtomHub 可信镜像中心](https://hub.atomgit.com/)镜像服务 `https://hub.atomgit.com` 为例进行介绍。
|
||||
|
||||
> `hub.atomgit.com` 仅包含部分官方镜像,可以满足初学者的使用。
|
||||
本节以 [毫秒镜像](https://docker.1ms.run) 镜像服务 `https://docker.1ms.run` 为例进行介绍。由于镜像加速服务经常变动,建议查阅上方的镜像测试仓库获取最新可用地址。
|
||||
|
||||
### 3.9.2 Ubuntu 22.04+、Debian 12+、Rocky/Alma/CentOS Stream 9+
|
||||
|
||||
@@ -34,7 +32,7 @@ $ systemctl cat docker | grep '\-\-registry\-mirror'
|
||||
```json
|
||||
{
|
||||
"registry-mirrors": [
|
||||
"https://hub.atomgit.com"
|
||||
"https://docker.1ms.run"
|
||||
]
|
||||
}
|
||||
```
|
||||
@@ -54,7 +52,7 @@ $ sudo systemctl restart docker
|
||||
```json
|
||||
{
|
||||
"registry-mirrors": [
|
||||
"https://hub.atomgit.com"
|
||||
"https://docker.1ms.run"
|
||||
]
|
||||
}
|
||||
```
|
||||
@@ -66,7 +64,7 @@ $ sudo systemctl restart docker
|
||||
```json
|
||||
{
|
||||
"registry-mirrors": [
|
||||
"https://hub.atomgit.com"
|
||||
"https://docker.1ms.run"
|
||||
]
|
||||
}
|
||||
```
|
||||
@@ -77,7 +75,7 @@ $ sudo systemctl restart docker
|
||||
|
||||
```bash
|
||||
Registry Mirrors:
|
||||
https://hub.atomgit.com/
|
||||
https://docker.1ms.run/
|
||||
```
|
||||
|
||||
### 3.9.6 Kubernetes 官方镜像地址迁移
|
||||
@@ -96,6 +94,7 @@ $ docker pull registry.k8s.io/xxx
|
||||
|
||||
某些镜像不再提供服务,添加无用的镜像加速器,会拖慢镜像拉取速度,你可以从镜像配置列表中删除它们。
|
||||
|
||||
* https://hub.atomgit.com **已于 2024 年底关闭**
|
||||
* https://dockerhub.azk8s.cn **已转为私有**
|
||||
* https://reg-mirror.qiniu.com
|
||||
* https://registry.docker-cn.com
|
||||
|
||||
Reference in New Issue
Block a user