From b11cac80fb9e910457dea4fc0316eb138ab06ebf Mon Sep 17 00:00:00 2001 From: Kang HuaiShuai Date: Wed, 25 Sep 2019 10:49:40 +0800 Subject: [PATCH] [Registry Mirror] Update mirror Signed-off-by: Kang HuaiShuai --- machine/usage.md | 4 ++-- repository/registry.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/machine/usage.md b/machine/usage.md index 3330faf..f9b90d4 100644 --- a/machine/usage.md +++ b/machine/usage.md @@ -16,7 +16,7 @@ $ docker-machine create -d virtualbox test `--engine-opt dns=114.114.114.114` 配置 Docker 的默认 DNS -`--engine-registry-mirror https://registry.docker-cn.com` 配置 Docker 的仓库镜像 +`--engine-registry-mirror https://dockerhub.azk8s.cn` 配置 Docker 的仓库镜像 `--virtualbox-memory 2048` 配置主机内存 @@ -37,7 +37,7 @@ $ docker-machine create \ -d xhyve \ # --xhyve-boot2docker-url ~/.docker/machine/cache/boot2docker.iso \ --engine-opt dns=114.114.114.114 \ - --engine-registry-mirror https://registry.docker-cn.com \ + --engine-registry-mirror https://dockerhub.azk8s.cn \ --xhyve-memory-size 2048 \ --xhyve-rawdisk \ --xhyve-cpu-count 2 \ diff --git a/repository/registry.md b/repository/registry.md index 9b11e1c..bacc3a1 100644 --- a/repository/registry.md +++ b/repository/registry.md @@ -104,7 +104,7 @@ REPOSITORY TAG IMAGE ID CREAT ```json { "registry-mirror": [ - "https://registry.docker-cn.com" + "https://dockerhub.azk8s.cn" ], "insecure-registries": [ "192.168.199.100:5000" @@ -116,4 +116,4 @@ REPOSITORY TAG IMAGE ID CREAT ### 其他 -对于 Docker Desktop for Windows 、 Docker Desktop for Mac 在设置中编辑 `daemon.json` 增加和上边一样的字符串即可。 +对于 Docker Desktop for Windows 、 Docker Desktop for Mac 在设置中的 `Docker Engine` 中进行编辑 ,增加和上边一样的字符串即可。