After installing various packages and programs like vtk, tvtk, ParaView, mayavi, … on my system, I end up with totally broken global packages. For instance: currently I'm not able to run mayavi for more than few seconds, than it crashes without any message. The problem is that every library needs different version of dependencies (notably Qt4 vs. Qt5), you sometime needs to build the software manually to allow certain non-standard features (ParaView with Python support) and so on. The result is total mess.
Therefore, I decided to build ParaView in Docker to isolate the software. I definitely need Python scripting capabilities of ParaView which is not default choice for Ubuntu repository package. Here is result of my work. I was inspired by this repository, however there are certain drawbacks, notably no Python and MPI support and it is a fork of official ParaView repo.
So, I used it and create a new repository. It is an Ubuntu image with all necessary packages, ParaView is built with MPI and Python support. See README how to build it and how to run it. If anyone is interested I can push the image to dockerhub. Note that user on host machine needs to have uid 1000, otherwise X server tunnel won't work correctly. This can be, however, easily fixed.
So, the issue is following. When I run the ParaView, I see this error message:
libGL error: failed to open drm device: No such file or directory
libGL error: failed to load driver: i965
Obviously, there is no OpenGL acceleration. Is there anyone who knows how to enable OpenGL support in docker? I know of this repository, however I don't like the solution via vnc. Is there any other way how to do the same? I'm not familiar with OpenGL so any help is much appreciated.