The image provides a virtual framebuffer (xvfb), a minimalistic window manager (jwm) and a VNC server (x11vnc), so you can develop opengl apps entirely within the container with no external ...
docker run -it --rm --name python-opengl -e UID=$(id -u) -e GID=$(id -g) -v /tmp/.X11-unix:/tmp/.X11-unix -v ./notebooks:/opt/notebooks -p 8888:8888 python-opengl:0.0 ...