From 24001f7b2694e4810dd22cb5aebe65b2d97d817b Mon Sep 17 00:00:00 2001 From: pkking Date: Mon, 21 Aug 2017 15:02:49 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E5=A2=9E=E5=8A=A0docker=20=E5=AE=98?= =?UTF-8?q?=E6=96=B9registry=20mirror=E7=9A=84=E5=9C=B0=E5=9D=80=202.=20?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=96=B0=E7=89=88=E6=9C=AC=E6=A3=80=E6=9F=A5?= =?UTF-8?q?registry=E7=94=9F=E6=95=88=E7=9A=84=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: pkking --- install/mirror.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/install/mirror.md b/install/mirror.md index 24f6395..dcdf978 100644 --- a/install/mirror.md +++ b/install/mirror.md @@ -1,7 +1,8 @@ ## 镜像加速器 -国内访问 Docker Hub 有时会遇到困难,此时可以配置镜像加速器。国内很多云服务商都提供了加速器服务,例如: +国内访问 Docker Hub 有时会遇到困难,此时可以配置镜像加速器。Docker官方和国内很多云服务商都提供了加速器服务,例如: +* [Docker 官方提供的中国registry mirror](https://docs.docker.com/registry/recipes/mirror/#use-case-the-china-registry-mirror) * [阿里云加速器](https://cr.console.aliyun.com/#/accelerator) * [DaoCloud 加速器](https://www.daocloud.io/mirror#accelerator-doc) * [灵雀云加速器](http://docs.alauda.cn/feature/accelerator.html) @@ -77,3 +78,9 @@ $ sudo ps -ef | grep dockerd root 5346 1 0 19:03 ? 00:00:00 /usr/bin/dockerd --registry-mirror=https://jxus37ad.mirror.aliyuncs.com $ ``` +如果`Docker`版本大于1.13或17.05.0-ce,也可以 +```bash +$ sudo docker info|grep "Registry Mirrors" -A 1 +Registry Mirrors: + https://registry.docker-cn.com/ +```