Cannot reproduce nvidia-docker2 installation from the tutorial
Hello, I've been trying to get OpenGL work with nvidia-docker2 to run gazebo in Docker.
I've started to repeat the steps outlined in "1.2 nvidia-docker2" section of this http://wiki.ros.org/docker/Tutorials/... tutorial.
First, I've found some mistakes in it:
- One should do
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata
, the current installation command does not work -- the installation process hangs when selecting location area - Package
lsb_release
should belsb-release
- One needs to also install
gnupg
before runningapt-key
After fixing these I got my Docker image built. But the last step, which should display RViz, tells me
root@2e605489cabd:/# rosrun rviz rviz
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
No protocol specified
qt.qpa.screen: QXcbConnection: Could not connect to display :0
Could not connect to any X display.
The host system is Ubuntu 16.04.