[Registry Mirror] Update mirror

Signed-off-by: Kang HuaiShuai <khs1994@khs1994.com>
This commit is contained in:
Kang HuaiShuai 2019-09-25 10:49:40 +08:00
parent 38e810a407
commit b11cac80fb
No known key found for this signature in database
GPG Key ID: 0A380828B1C243A7
2 changed files with 4 additions and 4 deletions

View File

@ -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 \

View File

@ -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` 中进行编辑 增加和上边一样的字符串即可