How to save total processes by video

I use the Dockerfile [gridworld/Dockerfile at master · iglu-contest/gridworld · GitHub]
to build container.

env = gym.make('IGLUGridworld-v0',render=False)

I have to set render=False. otherwise, it will output error.

ContextException: Could not create GL context

Thus, I cannot use env.render() to generate “rgb_array”
However, I want to save total processes by video.

How to solve the problem??

1 Like