The Repository Contains the dockerfile for setting up an ROS docker container which supports GPU.Also, I can run GUI application from inside the container
xhost local:root
docker run -it --rm -e DISPLAY=${DISPLAY} --runtime=nvidia --net=host --privileged -env="QT_X11_NO_MITSHM=1" -v /tmp/.X11-unix:/tmp/.X11-unix ENTER_IMAGE_ID /bin/bash