Installing IsaacLab-Arena in Your Repository#

The recommended way to use IsaacLab-Arena in your own project is to add it as an unmodified git submodule and extend it through its registration API, without editing Arena’s source.

This is the currently recommended integration pattern until IsaacLab-Arena is available as a published pip package, at which point the submodule will be replaced by a simple pip install isaaclab_arena. The environment and asset extension patterns below will remain unchanged.

Repository Layout#

A typical external repository looks like this:

my_project/
├── submodules/
│   └── IsaacLab-Arena/          ← unmodified Arena submodule
├── my_package/
│   ├── pyproject.toml
│   ├── isaaclab_arena_environments/
│   │   ├── __init__.py
│   │   └── my_environment.py    ← custom environment class
├── docker/
│   └── Dockerfile
└── .gitmodules

Add the submodule with:

git submodule add git@github.com:isaac-sim/IsaacLab-Arena.git submodules/IsaacLab-Arena

Dockerfile#

Start from an image that has Isaac Sim and Isaac Lab, at the Isaac Lab version that Arena pins in submodules/IsaacLab. Then install Arena and your package with the scripts that Arena ships:

FROM nvcr.io/nvidia/isaac-lab:3.0.0

# Install Arena
COPY --chown=isaaclab:isaaclab submodules/IsaacLab-Arena /opt/arena
RUN /opt/arena/docker/external_project/install_arena.sh

# Install your package
COPY --chown=isaaclab:isaaclab my_package /workspace/my_package
RUN /opt/arena/docker/external_project/install_package.sh --editable /workspace/my_package

--chown gives the files to the image’s user, isaaclab, so the installs can write to them. For another base image, use the user that docker inspect --format '{{.Config.User}}' <image> prints.

To add optional dependencies, pass them to install_arena.sh. For example, --group openpi adds the OpenPI policy client, and --extra dev adds Arena’s development tools.

Install your package with install_package.sh rather than uv pip install. A plain install ignores the versions Arena pins and can break Arena’s scripts.

Build and Run#

Build the image from the root of your repository:

docker build -f docker/Dockerfile -t my_project .

The image has no python on its PATH, so run Arena’s scripts with Isaac Lab’s launcher, isaaclab.sh -p. For example, to run the environment from Defining Environments in Your Repository with a zero-action policy:

docker run --rm --gpus all -e ACCEPT_EULA=Y \
  --workdir /opt/arena \
  --entrypoint /workspace/isaaclab/isaaclab.sh \
  my_project \
  -p isaaclab_arena/evaluation/policy_runner.py \
  --viz none \
  --policy_type zero_action \
  --num_steps 50 \
  --external_environment_class_path my_package.isaaclab_arena_environments.my_environment.ExternalFrankaTableEnvironment \
  franka_table \
  --object tomato_soup_can

For an interactive shell, where python runs the launcher:

docker run --rm -it --gpus all -e ACCEPT_EULA=Y --workdir /opt/arena --entrypoint bash my_project

Next Steps#

Once Arena is installed, see Defining Environments in Your Repository for how to define your own environments in your repository.