remove azk8s.cn mirror

Signed-off-by: Kang HuaiShuai <khs1994@khs1994.com>
pull/449/head
Kang HuaiShuai 2020-04-04 22:54:32 +08:00
parent e9dc8dc974
commit a691aa607a
No known key found for this signature in database
GPG Key ID: 0A380828B1C243A7
7 changed files with 15 additions and 22 deletions

View File

@ -39,6 +39,7 @@ jobs:
"mirrors.ustc.edu.cn",\ "mirrors.ustc.edu.cn",\
"docs.docker.com",\ "docs.docker.com",\
"dockerhub.azk8s.cn",\ "dockerhub.azk8s.cn",\
"mirror.ccs.tencentyun.com",\
"vuepress.mirror.docker-practice.com",\ "vuepress.mirror.docker-practice.com",\
"mc.qcloudimg.com/static/img",\ "mc.qcloudimg.com/static/img",\
"www.daocloud.io/mirror",\ "www.daocloud.io/mirror",\

View File

@ -2,4 +2,4 @@
Docker Docker
AWSGoogleAzure Kubernetes [](https://cloud.tencent.com/act/cps/redirect?redirect=10230&cps_key=3a5255852d5db99dcd5da4c72f05df61) 让用户在云上快捷、灵活的部署 Docker 容器。[容器镜像服务](https://cloud.tencent.com/act/cps/redirect?redirect=11588&cps_key=3a5255852d5db99dcd5da4c72f05df61) 让用户在云上享有安全高效的镜像托管、分发等服务。 AWSGoogleAzure Kubernetes [](https://cloud.tencent.com/act/cps/redirect?redirect=11588&cps_key=3a5255852d5db99dcd5da4c72f05df61) 让用户在云上享有安全高效的镜像托管、分发等服务。

View File

@ -2,15 +2,14 @@
Docker Hub Docker Hub
* [Azure `https://dockerhub.azk8s.cn`](https://github.com/Azure/container-service-for-azure-china/blob/master/aks/README.md#22-container-registry-proxy)
* [()](https://cr.console.aliyun.com/cn-hangzhou/mirrors)
* [ `https://hub-mirror.c.163.com`](https://www.163yun.com/help/documents/56918246390157312) * [ `https://hub-mirror.c.163.com`](https://www.163yun.com/help/documents/56918246390157312)
* [()](https://cr.console.aliyun.com/cn-hangzhou/mirrors)
> [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
Azure `https://dockerhub.azk8s.cn` [](https://www.163yun.com/) 镜像服务 `https://hub-mirror.c.163.com` 为例进行介绍。
## Ubuntu 16.04+Debian 8+CentOS 7 ## Ubuntu 16.04+Debian 8+CentOS 7
@ -19,7 +18,6 @@
```json ```json
{ {
"registry-mirrors": [ "registry-mirrors": [
"https://dockerhub.azk8s.cn",
"https://hub-mirror.c.163.com" "https://hub-mirror.c.163.com"
] ]
} }
@ -34,7 +32,7 @@ $ sudo systemctl daemon-reload
$ sudo systemctl restart docker $ sudo systemctl restart docker
``` ```
> `docker.service` `--registry-mirror=https://dockerhub.azk8s.cn` > `docker.service` `--registry-mirror=https://hub-mirror.c.163.com`
## Windows 10 ## Windows 10
@ -43,7 +41,6 @@ $ sudo systemctl restart docker
```json ```json
{ {
"registry-mirrors": [ "registry-mirrors": [
"https://dockerhub.azk8s.cn",
"https://hub-mirror.c.163.com" "https://hub-mirror.c.163.com"
] ]
} }
@ -56,7 +53,6 @@ $ sudo systemctl restart docker
```json ```json
{ {
"registry-mirrors": [ "registry-mirrors": [
"https://dockerhub.azk8s.cn",
"https://hub-mirror.c.163.com" "https://hub-mirror.c.163.com"
] ]
} }
@ -68,15 +64,13 @@ $ sudo systemctl restart docker
```bash ```bash
Registry Mirrors: Registry Mirrors:
https://dockerhub.azk8s.cn/ https://hub-mirror.c.163.com/
``` ```
## gcr.io ##
`gcr.io/*` `gcr.io/<repo-name>/<image-name>:<version>` `gcr.azk8s.cn/<repo-name>/<image-name>:<version>` , 访 Docker
```bash * [Azure `https://dockerhub.azk8s.cn`](https://github.com/Azure/container-service-for-azure-china/blob/master/aks/README.md#22-container-registry-proxy)
# $ docker pull gcr.io/google_containers/hyperkube-amd64:v1.9.2
$ docker pull gcr.azk8s.cn/google_containers/hyperkube-amd64:v1.9.2 * [ `https://mirror.ccs.tencentyun.com`](https://cloud.tencent.com/redirect.php?redirect=10058&cps_key=3a5255852d5db99dcd5da4c72f05df61)
```

View File

@ -4,9 +4,7 @@
## `k8s.gcr.io` ## `k8s.gcr.io`
`gcr.azk8s.cn` `$ docker tag` `k8s.gcr.io` `k8s.gcr.io` 使 [AliyunContainerService/k8s-for-docker-desktop](https://github.com/AliyunContainerService/k8s-for-docker-desktop) 来获取所需的镜像。
[AliyunContainerService/k8s-for-docker-desktop](https://github.com/AliyunContainerService/k8s-for-docker-desktop) 使用 `powershell` 或 `shell` 脚本简化了以上步骤,建议读者使用该开源项目获取 `k8s.gcr.io` 镜像。
## Kubernetes ## Kubernetes

View File

@ -77,7 +77,7 @@ $ sudo systemctl daemon-reload
### master ### master
```bash ```bash
$ sudo kubeadm init --image-repository gcr.azk8s.cn/google-containers \ $ sudo kubeadm init --image-repository registry.cn-hangzhou.aliyuncs.com/google_containers \
--pod-network-cidr 10.244.0.0/16 \ --pod-network-cidr 10.244.0.0/16 \
--v 5 \ --v 5 \
--ignore-preflight-errors=all --ignore-preflight-errors=all

View File

@ -16,7 +16,7 @@ $ docker-machine create -d virtualbox test
`--engine-opt dns=114.114.114.114` Docker DNS `--engine-opt dns=114.114.114.114` Docker DNS
`--engine-registry-mirror https://dockerhub.azk8s.cn` Docker `--engine-registry-mirror https://hub-mirror.c.163.com` Docker
`--virtualbox-memory 2048` `--virtualbox-memory 2048`
@ -37,7 +37,7 @@ $ docker-machine create \
-d xhyve \ -d xhyve \
# --xhyve-boot2docker-url ~/.docker/machine/cache/boot2docker.iso \ # --xhyve-boot2docker-url ~/.docker/machine/cache/boot2docker.iso \
--engine-opt dns=114.114.114.114 \ --engine-opt dns=114.114.114.114 \
--engine-registry-mirror https://dockerhub.azk8s.cn \ --engine-registry-mirror https://hub-mirror.c.163.com \
--xhyve-memory-size 2048 \ --xhyve-memory-size 2048 \
--xhyve-rawdisk \ --xhyve-rawdisk \
--xhyve-cpu-count 2 \ --xhyve-cpu-count 2 \

View File

@ -104,7 +104,7 @@ REPOSITORY TAG IMAGE ID CREAT
```json ```json
{ {
"registry-mirror": [ "registry-mirror": [
"https://dockerhub.azk8s.cn" "https://hub-mirror.c.163.com"
], ],
"insecure-registries": [ "insecure-registries": [
"192.168.199.100:5000" "192.168.199.100:5000"