[Registry Mirror] Update mirror
Signed-off-by: Kang HuaiShuai <khs1994@khs1994.com>pull/423/head
parent
38e810a407
commit
b11cac80fb
|
@ -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 \
|
||||
|
|
|
@ -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` 中进行编辑 ,增加和上边一样的字符串即可。
|
||||
|
|
Loading…
Reference in New Issue