First install:
docker compose build # docker-compose in older versions
Once built, upon docker image ls
you'll see opensim-python
.
docker pull ghcr.io/roboticslab-uc3m/opensim-python:latest
Once downloaded, upon docker image ls
you'll see ghcr.io/roboticslab-uc3m/opensim-python
.
You can edit docker-compose.yaml
adding more volumes
:
- /path/in/local:/path/in/docker
Extra configuration options were also commented at roboticslab-uc3m/gymnasium-opensim/issues/2.
docker compose run --rm opensim # docker-compose in older versions
Once you have Rocker, and suppose the image name ghcr.io/roboticslab-uc3m/opensim-python
; then, similar to this:
- For NVIDIA:
rocker --home --user --nvidia --x11 -e LD_LIBRARY_PATH=/opt/opensim/opensim-core/sdk/lib:/opt/opensim/opensim-core-dependencies/simbody/lib --privileged ghcr.io/roboticslab-uc3m/opensim-python /bin/bash
- For intel integrated graphics support:
rocker --home --user --devices /dev/dri/card0 --x11 -e LD_LIBRARY_PATH=/opt/opensim/opensim-core/sdk/lib:/opt/opensim/opensim-core-dependencies/simbody/lib
--privileged ghcr.io/roboticslab-uc3m/opensim-python /bin/bash