Skip to content

Instantly share code, notes, and snippets.

@syuntoku14
Last active March 23, 2019 08:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save syuntoku14/9d0ca62a8ebe6a98ed6333c3c5712f48 to your computer and use it in GitHub Desktop.
Save syuntoku14/9d0ca62a8ebe6a98ed6333c3c5712f48 to your computer and use it in GitHub Desktop.
Command to run the flow on the headless server(without vnc) Please see https://flow.readthedocs.io/en/latest/flow_setup.html#id16
docker run -it --rm \
--net=host \
-e DISPLAY=$DISPLAY \
-v /home/syuntoku/.Xauthority:/headless/.Xauthority:rw \
-v /tmp/.X11-unix:/tmp/.X11-unix \
--entrypoint=/bin/bash \
lucasfischerberkeley/flowdesktop
# inside the container, run "conda activate flow-rllab"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment