Skip to content

Commit 3973cb7

Browse files
committed
reorg docker file locations
1 parent 385ef83 commit 3973cb7

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Our framework contains several stages:
2323

2424
Running this scripts for all preprocessing steps:
2525
```
26-
bash scripts/running/preprocess.sh
26+
python openreal2sim/preprocess/preprocess_manager.py
2727
```
2828

2929
### Reconstruction

docker/README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22

33
Docker provides a sharable environment to run the code in this repository.
44

5-
The name inside the brackets indicates which container is needed to run which script. These scripts are meant to be run in order.
5+
We provide separate Dockerfiles for real2sim reconstruction and different robot simulation environments:
6+
- `docker/real2sim/Dockerfile` — for Real2Sim preprocessing and reconstruction.
7+
- `docker/isaaclab/Dockerfile` — for IsaacLab simulation and policy training.
68

9+
Each can be built and run independently depending on your use case.
710

811
## How to Run the Docker Container
912

@@ -47,7 +50,7 @@ You can also build the docker image yourself. Once the container is running, you
4750
**Build the container image**
4851
From the repository root:
4952
```bash
50-
docker compose -f docker/compose.yml build openreal2sim
53+
docker compose -f docker/compose.yml build openreal2sim # or isaaclab
5154
```
5255

5356
Optionally, you may want to push the image to a remote registry (e.g., GitHub Container Registry) for easier sharing.
@@ -63,7 +66,7 @@ Don't forget to change the visibility of the pushed image to public if you want
6366

6467
Every time you want to run a script inside the repo, follow these steps:
6568

66-
**Run the container**
69+
#### Run the real2sim container
6770
```bash
6871
HOST_UID=$(id -u) HOST_GID=$(id -g) docker compose -p "$USER" -f docker/compose.yml run openreal2sim
6972
```
@@ -85,8 +88,13 @@ python scripts/installation/install.py
8588
```bash
8689
python <path_to_script>.py
8790
```
88-
89-
**Tips if you are using VSCode**:
91+
92+
#### Run the isaaclab container
93+
```bash
94+
HOST_UID=$(id -u) HOST_GID=$(id -g) docker compose -p "$USER" -f docker/compose.yml run isaaclab
95+
```
96+
97+
#### Tips if you are using VSCode
9098

9199
1. Install the [Container Tools](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-containers) extension for setting up the docker container as a remote development environment.
92100

docker/compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
openreal2sim:
44
build:
55
context: ..
6-
dockerfile: Dockerfile
6+
dockerfile: docker/real2sim/Dockerfile
77
image: openreal2sim:dev
88
# container_name: openreal2sim
99
deploy:
@@ -31,8 +31,8 @@ services:
3131
isaaclab:
3232
build:
3333
context: ..
34-
dockerfile: Dockerfile_isaac
35-
image: isaaclab:latest
34+
dockerfile: docker/isaaclab/Dockerfile
35+
image: isaaclab:dev
3636
deploy:
3737
resources:
3838
reservations:

Dockerfile renamed to docker/real2sim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ RUN pip install --no-cache-dir torch-scatter \
4343
-f https://data.pyg.org/whl/torch-2.5.1+cu118.html
4444

4545
# Rest of the Dependencies
46-
COPY docker/requirements.docker.txt /tmp/requirements.docker.txt
46+
COPY docker/real2sim/requirements.docker.txt /tmp/requirements.docker.txt
4747
RUN pip install --no-cache-dir -r /tmp/requirements.docker.txt
4848

4949

0 commit comments

Comments
 (0)