[install] Update mirror: remove docker cn registry #370

pull/409/head
khs1994 2019-05-12 09:44:17 +08:00
parent df2537b721
commit 2e747fe2a5
No known key found for this signature in database
GPG Key ID: 0A380828B1C243A7
1 changed files with 23 additions and 12 deletions

View File

@ -1,16 +1,16 @@
##
Docker Hub Docker
Docker Hub
* [Docker registry mirror `https://registry.docker-cn.com`](https://docs.docker.com/registry/recipes/mirror/#use-case-the-china-registry-mirror)
* [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://reg-mirror.qiniu.com/`](https://kirk-enterprise.github.io/hub-docs/#/user-guide/mirror)
* [ `https://reg-mirror.qiniu.com`](https://kirk-enterprise.github.io/hub-docs/#/user-guide/mirror)
>
>
> Docker Docker
> Docker Docker
Docker `https://registry.docker-cn.com`
Azure `https://dockerhub.azk8s.cn`
### Ubuntu 16.04+Debian 8+CentOS 7
@ -19,7 +19,8 @@
```json
{
"registry-mirrors": [
"https://registry.docker-cn.com"
"https://dockerhub.azk8s.cn",
"https://reg-mirror.qiniu.com"
]
}
```
@ -33,21 +34,31 @@ $ sudo systemctl daemon-reload
$ sudo systemctl restart docker
```
> `docker.service` `--registry-mirror=https://registry.docker-cn.com`
> `docker.service` `--registry-mirror=https://dockerhub.azk8s.cn`
### Windows 10
使 Windows 10 Docker `Settings` `Daemon` `Registry mirrors` `https://registry.docker-cn.com` `Apply` Docker
使 Windows 10 Docker `Settings` `Daemon` `Registry mirrors` `https://dockerhub.azk8s.cn` `Apply` Docker
### macOS
使 macOS Docker for mac -> Perferences... -> Daemon -> Registry mirrors `https://registry.docker-cn.com` `Apply & Restart` Docker
使 macOS Docker Desktop -> Perferences... -> Daemon -> Registry mirrors `https://dockerhub.azk8s.cn` `Apply & Restart` Docker
###
`docker info`
`$ docker info`
```bash
Registry Mirrors:
https://registry.docker-cn.com/
https://dockerhub.azk8s.cn/
```
### gcr.io
`gcr.io/*` `gcr.io/<repo-name>/<image-name>:<version>` `gcr.azk8s.cn/<repo-name>/<image-name>:<version>` ,
```bash
# docker pull gcr.io/google_containers/hyperkube-amd64:v1.9.2
docker pull gcr.azk8s.cn/google_containers/hyperkube-amd64:v1.9.2
```