I'm trying to run a container based on ubuntu: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
(The IP was taken from my en0: inet using ifconfig)
I'm getting 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 team member Ubuntu OS without any issues.
Any ideas what is causing this error?
If your container is attempting to run Chrome in the script then you can use Chrome's SwiftShader software renderer - which works with XQuartz 2.7.11:
chromium-browser --use-gl=swiftshader
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With