Loaded images are not visible in Slicer running inside Docker container

Slicer version: 4.7.0
Expected Behavior: The loaded images are visible on different slices.
Actual Behaviour: The loaded images are not showing on any of the slicer windows. There is no accompanying error message.

The docker container is running Ubuntu 16.04 and the container is vsivan/compiled_slicer and can be found dockerhub.

I have tried loading images through the python interpreter using slicer.util.loadVolume() function as well through the UI. I have verified that these images can be loaded on Slicer running outside the Docker container.

Thanks.

Vignesh

Out of curiosity, did you also try using the docker images built daily ?

See https://hub.docker.com/u/slicer/ and https://github.com/thewtex/SlicerDocker

I suggest we work and improve these images

Hi, thanks for the reply. I have not been able to open Slicer from the docker images that you suggested. I get the following error: X Error: BadValue (integer parameter out of range for operation) 2. I can modify the dockerfile I used to build my container to more closely mirror the dockerfiles on Github and I’ll let you know if that works.

Hi, I am still unable to open Slicer due to the xwindows problem. It would, however, be preferable for me to run Slicer from within my own Docker image. Do you have any ideas as to what could be causing the display issue?

Thanks

EDIT: For more information, the Slicer screen looks like this in the Docker container (RGB windows are all white)

Screenshot from 2017-11-13 16-18-04