22
33Docker 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
5356Optionally, 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
6467Every 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
91991 . 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
0 commit comments