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.
Answered by
LukeCarrier
Sep 9, 2022
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.
0 replies
Answer selected by
LukeCarrier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to 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.