Update README.md
This commit is contained in:
parent
fd71e61af6
commit
6867da26c8
20
README.md
20
README.md
|
@ -1,6 +1,9 @@
|
|||
# public-image-mirror
|
||||
|
||||
[](https://github.com/DaoCloud/public-image-mirror/actions/workflows/sync.yml)
|
||||
[](https://gist.github.com/wzshiming/6e1f67a5184f93cefc5b2c670a5813e5/raw/daocloud-sync.log)
|
||||
|
||||
[](https://github.com/DaoCloud/public-image-mirror/actions/workflows/deep-sync.yml)
|
||||
[](https://gist.github.com/wzshiming/6e1f67a5184f93cefc5b2c670a5813e5/raw/daocloud-deep-sync.log)
|
||||
|
||||
## 背景
|
||||
|
@ -16,7 +19,6 @@
|
|||
|
||||
```
|
||||
docker run -d -P docker.m.daocloud.io/nginx
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
@ -47,22 +49,6 @@ k8s.gcr.io/coredns/coredns => k8s-gcr.m.daocloud.io/coredns/coredns
|
|||
提 PR , 修改 mirror.txt 即可。例如 [PR#1](https://github.com/DaoCloud/public-image-mirror/pull/1/)
|
||||
|
||||
|
||||
## 安装运行
|
||||
|
||||
安装 skopeo.
|
||||
```
|
||||
yum install skopeo --nobest
|
||||
```
|
||||
|
||||
|
||||
运行同步程序
|
||||
|
||||
```
|
||||
export REGISTRY_PASSWORD=password #镜像仓库密码
|
||||
python scripts/sync-to-jp.py
|
||||
```
|
||||
|
||||
|
||||
## 最佳实践
|
||||
* 通过 加速 安装 kubeadm
|
||||
``` bash
|
||||
|
|
Loading…
Reference in New Issue