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

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -