title: docker run claims a command needs admin access
body: <pre><code>bash-3.2$ docker run -it -e DISPLAY=$IP:0 -v /tmp/.X11-unix:/tmp/.X11-unix -v `pwd`:`pwd` josh:latest
  To run a command as administrator (user "root"), use "sudo &lt;command&gt;".
  See "man sudo_root" for details.
  
  bash: /home/ros/catkin_ws/devel/setup.bash: No such file or directory
  </code></pre>
  
  <p>And my dockerfile is:</p>
  
  <pre><code>FROM ros:kinetic-robot-xenial
  
  MAINTAINER Joshua Schraven
  
  RUN apt-get update &amp;&amp; apt-get install --assume-yes \
  vim-nox \
  sudo \
  python-pip \
  ros-kinetic-desktop-full \
  ros-kinetic-turtlebot3 \
  ros-kinetic-turtlebot3-bringup \
  ros-kinetic-turtlebot3-description \
  ros-kinetic-turtlebot3-fake \
  ros-kinetic-turtlebot3-gazebo \
  ros-kinetic-turtlebot3-msgs \
  ros-kinetic-turtlebot3-navigation \
  ros-kinetic-turtlebot3-simulations \
  ros-kinetic-turtlebot3-slam \
  ros-kinetic-turtlebot3-teleop
  
  # create non-root user
  ENV USERNAME ros
  RUN adduser --ingroup sudo --disabled-password --gecos "" --shell /bin/bash --home /home/$USERNAME $USERNAME
  RUN bash -c "echo ros:ros | chpasswd"
  ENV HOME /home/$USERNAME
  USER $USERNAME
  
  # create catkin_ws
  RUN mkdir /home/$USERNAME/catkin_ws
  WORKDIR /home/$USERNAME/catkin_ws
  
  # add catkin env
  RUN echo 'source /opt/ros/kinetic/setup.bash' &gt;&gt; /home/$USERNAME/.bashrc
  RUN echo 'source /home/$USERNAME/catkin_ws/devel/setup.bash' &gt;&gt; /home/$USERNAME/.bashrc
  </code></pre>
  
  <p>I don't know what command is causing the problem, nor how I would trouble shoot that myself.</p>