Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save 19317362/5ebb255d4e62b5b6cd091a9a9a8340fd to your computer and use it in GitHub Desktop.
Save 19317362/5ebb255d4e62b5b6cd091a9a9a8340fd to your computer and use it in GitHub Desktop.
# http://wiki.ros.org/docker/Tutorials/GUI
# mount /etc/group and /etc/passwd read only
# set user from $USER
docker run -ti --rm -v $(pwd):/tmp/hx -w /tmp/hx -v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro —user=$USER debian:jessie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment