Skip to content

Latest commit

 

History

History
executable file
·
46 lines (30 loc) · 1.38 KB

File metadata and controls

executable file
·
46 lines (30 loc) · 1.38 KB

Host preparation

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

Building image

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

Running

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:

  1. For every command needed to run, use docker-compose run sarndbox <COMMAND> if running the regular image or docker-compose run sarndbox-nvidia <COMMAND> if running nvidia;
  2. You can use sudo, even if it's not recommended;
  3. 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>".