Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add footnote in how_to_dev_in_docker_container_by_vscode_on_windows.md #443

Merged
merged 3 commits into from
Sep 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,16 @@ docker run -d --name fortest --privileged -v $PWD/miniob:/root/miniob oceanbase/

![start docker3](./images/dev_in_docker_container_by_vscode_on_windows_startDocker_in_vscode_3.png)

> **没有看到 miniob 目录?**
>
> 请尝试以下方法:
>
> 在 Docker Desktop 中查看对应容器的 Log,如果提示 `REPO_ADDR` 未设置,请重新启动一个容器,并加上`-e REPO_ADDR=<your_repo_addr>` 参数,如`docker run -d --name fortest2 --privileged -v $PWD/miniob:/root/miniob -e REPO_ADDR=https://github.com/oceanbase/miniob.git oceanbase/miniob`。
>
> 容器启动后,在终端输入`ls`,会出现`source`目录,用`cd source`命令进入目录,再次输入`ls`即可发现`miniob`目录。
>
> 如果以上方法失效,请在 GitHub 创建一个 Issue,并附上容器的 Log。

综合运用以下代码运行build.sh文件

~~~bash
Expand Down Expand Up @@ -249,4 +259,4 @@ cd build_debug
这会连接到服务端的6789端口。


编辑日期 2023-10-17
编辑日期 2024-09-10
Loading