I would like to use a web browser to access the Slicer GUI for a slicer instance running in a docker container.
SlicerDocker/slicer-notebook includes a Dockerfile to expose a Jupyter notebook attached to the slicer kernel, and some code related to GUI exposure: VNCPORT in Dockerfile, commented out x11vnc in run.sh. Is there an example configuration to access Slicer GUI via a web browser?
I’ve got the SlicerDockers/slicer container to build (needs a different bitstream code to download Slicer 4.11.20200930 now, and curl -k to skip certificate check). The container runs fine, and shows the X environment in the browser. When I click the Slicer icon, only Slicer splash screen briefly flashes. If I open xterm and issue /opt/slicer/Slicer, I get an error: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
I am running this docker container on Ubuntu 18, 6Gb RAM. What could be wrong here?
You can make a fork of the repository and apply your changes either directly in the github web page or in a local checkout that you push back to the fork. Then you create a pull request proposing the changes and we can discuss as needed or I’ll just go ahead and merge. I know these are small edits and I could make them myself but it’s nice for you to get credit in the history for this fix and also you can get practice for maybe bigger changes to this or other code in the future.