git clone https://github.com/space-concordia-robotics/erc_docker_img.git
The url is found under fleet>ERC>leorover>settings>installation. Only copy the https string not the whole thing.
docker build -t erc_img --build-arg FREEDOM_URL="<YOUR_URL>" .
xhost +local:root
Install the Nvidia Container Toolkit And run:
docker run --rm -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY --gpus all -e NVIDIA_DRIVER_CAPABILITIES=all --name erc_img erc_img
docker run --rm --device=/dev/dri -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY --name erc_img erc_img
- Open a new terminal window and start a terminal in the docker session
docker exec -it erc_img bash