Install docker, docker-compose and, if using a nvidia GPU, nvidia toolkit.
Give yourself docker permissions:
sudo usermod -a YOUR_USER -G docker
Reboot so changes can take effect. Once logged back in, type:
sudo make installudevrules
To build image run:
make
Or, if using nvidia host (recommended):
make nvidia
To view the application windows, you need to give docker permissions in your X server:
xhost +local:docker
To start running sarndbox, you first need to follow the official documentation from "System Integration, Configuration, and Calibration".
Just some clarification on how to run commands inside the container:
- For every command needed to run, use
docker-compose run sarndbox <COMMAND>if running the regular image ordocker-compose run sarndbox-nvidia <COMMAND>if running nvidia; - You can use sudo, even if it's not recommended;
- If facing a cd command, like those in the official documentation, you need to run it in one line, like this:
docker-compose run sarndbox-nvidia bash -c "cd <YOUR-DIRECTORY> && <COMMAND>".