Skip to content

Commit

Permalink
chore: fix README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mqjinwon committed Dec 7, 2024
1 parent 4d3d15e commit 2dca89b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ First, set the environment variables to build Docker Image.

```bash
export StrideSim_DIR=${PWD}
export StrideSim_NAME=$(whoami)-docker
export StrideSim_PASSWORD=a
export DOCKER_NAME=$(whoami)-docker
export DOCKER_PW=a
```

1. Build Docker Image
Expand All @@ -113,8 +113,8 @@ Then, build StrideSim Docker Image.
```bash
cd ${StrideSim_DIR}
docker build -t stride-sim:v0.0.3 \
--build-arg USERNAME=${StrideSim_NAME} \
--build-arg USERPASSWORD=${StrideSim_PASSWORD} \
--build-arg USERNAME=${DOCKER_NAME} \
--build-arg USERPASSWORD=${DOCKER_PW} \
-f docker/Dockerfile.stridesim .
```

Expand All @@ -129,6 +129,7 @@ docker run --name stride-sim-0.0.3 --entrypoint bash -it --runtime=nvidia --gpus
-e DISPLAY=$DISPLAY \
-e OMNI_KIT_ALLOW_ROOT=1 \
-e RMW_IMPLEMENTATION=rmw_cyclonedds_cpp \
-e ROS_DOMAIN_ID=${ROS_DOMAIN_ID} \
--shm-size=8g \
-m 16g \
--memory-swap 24g \
Expand Down

0 comments on commit 2dca89b

Please sign in to comment.