opengl - How can OpenAI Gym's visualizations work within Docker? -
i'd openai gym working rendered opengl visualizations within docker container.
it's straightforward openai gym running within docker. however, it's not clear how rendered environment display in window on os x laptop when call env.render()
on openai environment within docker container.
how go this?
you can try sharing x11 socket file container... way container can write , show on machine:
something this:
docker run --privileged=true --rm \ -e display=$display -v /tmp/.x11-unix:/tmp/.x11-unix \ ...
Comments
Post a Comment