From 151a658c5381351afad2f5f03dbfddf427852505 Mon Sep 17 00:00:00 2001 From: Winston <68310078+WinstonHChou@users.noreply.github.com> Date: Mon, 6 May 2024 19:08:20 -0700 Subject: [PATCH] add sudo group to container --- .docker_utils/main_dock.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.docker_utils/main_dock.sh b/.docker_utils/main_dock.sh index 8a8bb23..e4469a8 100755 --- a/.docker_utils/main_dock.sh +++ b/.docker_utils/main_dock.sh @@ -13,6 +13,8 @@ docker run --tty \ --volume $XAUTH_LOC:/home/$USER/.Xauthority \ --volume /dev:/dev \ --volume /tmp/.X11-unix:/tmp/.X11-unix \ + --volume /etc/shadow:/etc/shadow \ + --gourp-add sudo \ --volume $RACE_STACK_ROOT:/home/$USER/catkin_ws/src/race_stack \ --volume $RACE_STACK_ROOT/../../cache/noetic/build:/home/$USER/catkin_ws/build \ --volume $RACE_STACK_ROOT/../../cache/noetic/devel:/home/$USER/catkin_ws/devel \