Skip to content

marcocspc/sarndbox-docker

Repository files navigation

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>".

About

Conteinerized sarndbox.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors