Run carla in docker: sh: 1: xdg-user-dir: not found
Problem:
```sh
\$ docker run -p 2000-2002:2000-2002 --runtime=nvidia --gpus all carlasim/carla:0.9.10 ./CarlaUE4.sh
sh: 1: xdg-user-dir: not found
```
Solution:
```sh
xhost local:root
sudo docker run \
-e SDL_VIDEODRIVER=x11 \
-e DISPLAY=$DISPLAY\
-v /tmp/.X11-unix:/tmp/.X11-unix \
-p 2000-2002:2000-2002 \
-it \
--gpus all \
carlasim/carla:0.9.10 ./CarlaUE4.sh -opengl
```
No comments