title: OpenGL context without a monitor
body: <p>I want to create an opengl context but that context must be created without a monitor attach to the system. The reason I want this is because this program should ran in a linux ubuntu server. Inside a docker image to be specific. I'm using many opengl libraries including modern opengl(GLSL), GLFW, glad and glm. I've found <a href="https://stackoverflow.com/questions/12482166/creating-opengl-context-without-window">this question</a> but I'm not sure whether or not one of the methods will work and it might be a bit outdated. I've also seen someone using something like this on an obsolete site but I'm not sure how to implement it:</p>
  <pre><code>glXMakeContextCurrent(display,None,None,context);
  </code></pre>
  <p>I think it still needs a window as <code>display</code>, if not what is the type of <code>display</code> and <code>context</code> variable and where can i download glX?</p>
  <p>Edit: I'm only using GLFW for window/context creation on my local machine so I can exclude it.</p>