Skip to content

Commit

Permalink
update to 43062f1
Browse files Browse the repository at this point in the history
  • Loading branch information
Narukara committed Mar 25, 2024
1 parent 399cc35 commit b147a4d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.vscode
.idea
target
Cargo.lock
cfg.toml
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
这里是 https://github.com/esp-rs/std-training 的简体中文翻译

目前进度:已经翻译完成(部分更新的内容需要重新翻译),跟踪到 3fc982a
目前进度:已经翻译完成(部分更新的内容需要重新翻译),跟踪到 43062f1

---

Expand Down
12 changes: 9 additions & 3 deletions book/src/02_2_software.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,15 @@ brew install llvm libuv
docker pull espressif/rust-std-training
```
✅ 启动新的 Docker 容器:
```console
docker run --mount type=bind,source="$(pwd)",target=/workspace,consistency=cached -it rust-std-training /bin/bash
```

- 对于本地 Docker 镜像:
```console
docker run --mount type=bind,source="$(pwd)",target=/workspace,consistency=cached -it rust-std-training /bin/bash
```
- 对于从 Docker Hub 下载的:
```console
docker run --mount type=bind,source="$(pwd)",target=/workspace,consistency=cached -it espressif/rust-std-training:latest /bin/bash
```

这将在 Docker 容器中启动一个交互式 shell。
它还将本地存储库挂载到容器内名为 `/workspace` 的文件夹中。对主机系统上项目的更改会反映在容器内,反之亦然。
Expand Down

0 comments on commit b147a4d

Please sign in to comment.