From ce7cc24919fcfed3744fc93b310c7b3c62396624 Mon Sep 17 00:00:00 2001 From: wangyunlai Date: Wed, 24 Jul 2024 09:45:23 +0800 Subject: [PATCH] add source quay.io and ghcr.io (#434) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### What problem were solved in this pull request? Problem: docker.io 在国内被禁用了,把镜像推送到quay.io和ghcr.io中。 --- docs/docs/dev-env/how-to-dev-using-docker.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/docs/dev-env/how-to-dev-using-docker.md b/docs/docs/dev-env/how-to-dev-using-docker.md index 81873ed37..195ad9d23 100644 --- a/docs/docs/dev-env/how-to-dev-using-docker.md +++ b/docs/docs/dev-env/how-to-dev-using-docker.md @@ -12,6 +12,15 @@ MiniOB 依赖的第三方组件比较多,搭建开发环境比较繁琐,建 我们提供了原始的Dockerfile,也有已经打包好的镜像,可以选择自己喜欢的方式。 自行构建参考[本文档](./how_to_dev_in_docker_container_by_vscode.md)。 +- 拉取镜像 + +```bash +# 下面的命令三选一即可 +docker pull oceanbase/miniob # pull from docker hub +docker pull ghcr.io/oceanbase/miniob && docker tag ghcr.io/oceanbase/miniob oceanbase/miniob # pull from github +docker pull quay.io/oceanbase/miniob && docker tag quay.io/oceanbase/miniob oceanbase/miniob # pull from github # pull from quay.io +``` + - 使用docker hub 镜像运行 ```bash