Error while exporting image #38
-
|
My application running on a kubernetes linux cluster is receiving an error while trying to export the image. I have set a DISPLAY env_var with 99 as value. My mkdocs plugin is configured just with format property. In my docker image, we add the following instructions: Any idea on what is happening? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @digogid, Instead of setting the DISPLAY environment variable to an arbitrary value you need to make sure it points at an actual X server display. The easiest way to do this is using xvfb-run; see the last line of the example GitHub Actions workflow. |
Beta Was this translation helpful? Give feedback.
Hi @digogid,
Instead of setting the DISPLAY environment variable to an arbitrary value you need to make sure it points at an actual X server display. The easiest way to do this is using xvfb-run; see the last line of the example GitHub Actions workflow.