I have been following the tutorial found here: http://wiki.ros.org/docker/Tutorials/GUI
I can get the insecure method working using xhost +local:root
however, I am concerned about security, so would like to use the second method where you pass your /etc/passwd and such to the container. This, however, doesn't work for me, copying the example exactly. Has Docker changed since this was written to not allow this? Note: Due to volume mount time, the $USER field didn't work as it didn't find my user name, so I used my user id instead.
Docker version 19.03.4-ce, build 9013bf583a
Originally posted by acwatkins on ROS Answers with karma: 11 on 2019-11-17
Post score: 0