This is essentially the same problem as with remote rendering over X11, or running on the Windows Subsystem for Linux: there is no direct rendering interface, so the software needs to fall back to the traditional X11 OpenGL extension (GLX), which currently only provides support for OpenGL up to version 2. However, it does somehow mysteriously work when the stars are in alignment (or more likely, when the exact right versions of the mesa drivers are installed and talking to each other).
Other relevant sources:
- Beginner: Distros and system setup for MRtrix
- Our main docs
- There is a chance this might work better using snaps rather than Docker - but that’s way outside my comfort zone…
Ultimately, I don’t think this is something that we intend to fix any time soon – the chances are, this issue will go away all by itself once support for remote rendering is properly added to Wayland.