Update registry mirror

master
Kang Huaishuai 2024-11-23 23:23:50 +08:00
parent 1b7d941fcd
commit 65bc905920
1 changed files with 11 additions and 12 deletions

View File

@ -1,16 +1,16 @@
# #
Docker Hub Docker Hub ~~~~
* [( -> () -> -> -> )](https://cr.console.aliyun.com/cn-hangzhou/instances) * [( -> () -> -> -> )](https://cr.console.aliyun.com/cn-hangzhou/instances)
* [ `https://hub-mirror.c.163.com`](https://www.163yun.com/help/documents/56918246390157312)
* [ `https://mirror.baidubce.com`](https://cloud.baidu.com/doc/CCE/s/Yjxppt74z#%E4%BD%BF%E7%94%A8dockerhub%E5%8A%A0%E9%80%9F%E5%99%A8)
** [docker-practice/docker-registry-cn-mirror-test](https://github.com/docker-practice/docker-registry-cn-mirror-test/actions) 查看。** ** [docker-practice/docker-registry-cn-mirror-test](https://github.com/docker-practice/docker-registry-cn-mirror-test/actions) 查看。**
> Docker Docker > Docker Docker
[](https://www.163yun.com/) 镜像服务 `https://hub-mirror.c.163.com` 为例进行介绍。 [AtomHub ](https://hub.atomgit.com/) 镜像服务 `https://hub.atomgit.com` 为例进行介绍。
> `hub.atomgit.com` 使
## Ubuntu 16.04+Debian 8+CentOS 7+ ## Ubuntu 16.04+Debian 8+CentOS 7+
@ -29,8 +29,7 @@ $ systemctl cat docker | grep '\-\-registry\-mirror'
```json ```json
{ {
"registry-mirrors": [ "registry-mirrors": [
"https://hub-mirror.c.163.com", "https://hub.atomgit.com"
"https://mirror.baidubce.com"
] ]
} }
``` ```
@ -46,13 +45,12 @@ $ sudo systemctl restart docker
## Windows 10 ## Windows 10
使 `Windows 10` Docker `Settings` `Docker Engine` json `Apply & Restart` Docker 使 `Windows 10` Docker `Change settings` `Docker Engine` json `Apply & Restart` Docker
```json ```json
{ {
"registry-mirrors": [ "registry-mirrors": [
"https://hub-mirror.c.163.com", "https://hub.atomgit.com"
"https://mirror.baidubce.com"
] ]
} }
``` ```
@ -64,8 +62,7 @@ $ sudo systemctl restart docker
```json ```json
{ {
"registry-mirrors": [ "registry-mirrors": [
"https://hub-mirror.c.163.com", "https://hub.atomgit.com"
"https://mirror.baidubce.com"
] ]
} }
``` ```
@ -76,7 +73,7 @@ $ sudo systemctl restart docker
```bash ```bash
Registry Mirrors: Registry Mirrors:
https://hub-mirror.c.163.com/ https://hub.atomgit.com/
``` ```
## `k8s.gcr.io` ## `k8s.gcr.io`
@ -100,6 +97,8 @@ $ docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/xxx
* https://dockerhub.azk8s.cn **已转为私有** * https://dockerhub.azk8s.cn **已转为私有**
* https://reg-mirror.qiniu.com * https://reg-mirror.qiniu.com
* https://registry.docker-cn.com * https://registry.docker-cn.com
* https://hub-mirror.c.163.com
* https://mirror.baidubce.com
**watch** [](https://github.com/docker-practice/docker-registry-cn-mirror-test) 这个 GitHub 仓库,我们会在此更新各个镜像地址的状态。 **watch** [](https://github.com/docker-practice/docker-registry-cn-mirror-test) 这个 GitHub 仓库,我们会在此更新各个镜像地址的状态。