Running GUI from container when mac resolves in "libGL error: no matching fbConfigs or visual images"

I am trying to run an ubuntu-based container: 15.10 from my Mac.

I run the following command

docker run -i -v /tmp/.X11-unix:/tmp/. -e DISPLAY=192.168.0.104:0 --privileged mycompany/mycontainer 

(IP was taken from my en0: inet using ifconfig)

I get the following error:

 libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 149 (GLX) Minor opcode of failed request: 24 (X_GLXCreateNewContext) Value in failed request: 0x0 Serial number of failed request: 25 Current serial number in output stream: 26 

This container runs on another Ubuntu OS team without any problems.

Any ideas what causes this error?

+6
source share

Source: https://habr.com/ru/post/1012318/


All Articles