Skip to content

Instantly share code, notes, and snippets.

@lkwatson
Created June 16, 2018 20:02
Show Gist options
  • Save lkwatson/91d9547c1f24cb9a07d2550e3e1bc338 to your computer and use it in GitHub Desktop.
Save lkwatson/91d9547c1f24cb9a07d2550e3e1bc338 to your computer and use it in GitHub Desktop.

Docker notes

Mac X11: https://cntnr.io/running-guis-with-docker-on-mac-os-x-a14df6a76efc Ubuntu X11: xhost +local:docker

Mac: docker run -it --rm -e DISPLAY=${HOSTNAME}:0 -v /tmp/.X11-unix/:/tmp/.X11-unix osrf/ros:kinetic-desktop-full-xenial Ubuntu: docker run -it --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix osrf/ros:kinetic-desktop-full-xenial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment