We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59cc93d commit 2693040Copy full SHA for 2693040
QA.md
@@ -266,7 +266,21 @@
266
> 如果拉取镜像速度慢,可以考虑使用代理,请参考文档 [Docker pull 代理](https://www.lfhacks.com/tech/pull-docker-images-behind-proxy/) 和 [官方文档](https://docs.docker.com/engine/daemon/proxy/#systemd-unit-file)
267
268
269
- 2. 运行 Docker 容器:请执行如下指令:
+ 2. 运行 Docker 容器:以 ch3 为例,请执行如下指令:
270
```sh
271
+ # 拉取仓库
272
+ git clone $YOUR_REPO_URL -b ch3
273
+
274
+ # 进入仓库
275
+ cd $YOUR_REPO_NAME
276
277
DOCKER_NAME=wangben18/rcore-tutorial-v3:v0.1.0 make docker
278
279
+ # 在 Docker 容器内
280
281
+ # 设置 git 信任目录
282
+ git config --global --add safe.directory /mnt
283
284
+ # 运行 rCore-Tutorial-OS
285
+ cd os && make run
286
```
0 commit comments