Note: Windows users please use WSL (Windows Subsystem for Linux)
Docker
git clone https://github.com/carnegiemellonracing/driverless-docker.git
cd driverless-docker
docker pull ubuntu:22.04
sudo docker build -t driverless-image .
sudo docker run -it driverless-image bash
sudo docker run -it --env="DISPLAY" --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" driverless-image bash
- Install XQuartz from https://www.xquartz.org
open -a XQuartz
- Go to settings with
CTRL + ,
or from menu bar and ensure the Security tab looks as below ![alt text]/securitySettings.jpg - Restart your Mac
open -a XQuartz
- xhost +localhost
- docker run -it -e DISPLAY=docker.for.mac.host.internal:0 driverless-image bash