Fix typos in docker commands within the docs.

This commit is contained in:
Zhe Tang
2024-07-04 09:35:55 +00:00
committed by Tate, Hongliang Tian
parent 623f4c9177
commit 52ce2dd5d1
4 changed files with 4 additions and 4 deletions

View File

@ -44,7 +44,7 @@ git clone https://github.com/asterinas/asterinas
2. Run a Docker container as the development environment.
```bash
docker run -it --privileged --network=host --device=/dev/kvm -v asterinas:/root/asterinas asterinas/asterinas:0.6.0
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.6.0
```
3. Inside the container, go to the project folder to build and run Asterinas.

View File

@ -66,7 +66,7 @@ git clone https://github.com/asterinas/asterinas
2. Run a Docker container as the development environment.
```bash
docker run -it --privileged --network=host --device=/dev/kvm -v ./asterinas:/root/asterinas asterinas/asterinas:0.6.0_tdx
docker run -it --privileged --network=host --device=/dev/kvm -v $(pwd)/asterinas:/root/asterinas asterinas/asterinas:0.6.0_tdx
```
3. Inside the container,