From 893fa9d1e6760bf6766f3a69782ea75826365a6d Mon Sep 17 00:00:00 2001 From: Ingram Weeks <47294253+Spice-Weasel@users.noreply.github.com> Date: Mon, 2 Oct 2023 12:22:55 +0100 Subject: [PATCH] Update 0_ros_setup.md docker build and docker run require root privileges - I have added the sudo command to these in order to be consistent with the rest of the setup instructions. --- tutorials/pick_and_place/0_ros_setup.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/pick_and_place/0_ros_setup.md b/tutorials/pick_and_place/0_ros_setup.md index 8381a2fe..7a2747a4 100644 --- a/tutorials/pick_and_place/0_ros_setup.md +++ b/tutorials/pick_and_place/0_ros_setup.md @@ -31,7 +31,7 @@ git clone --recurse-submodules https://github.com/Unity-Technologies/Unity-Robot ```bash cd /PATH/TO/Unity-Robotics-Hub/tutorials/pick_and_place && git submodule update --init --recursive && - docker build -t unity-robotics:pick-and-place -f docker/Dockerfile . + sudo docker build -t unity-robotics:pick-and-place -f docker/Dockerfile . ``` > Note: The provided Dockerfile uses the [ROS Melodic base Image](https://hub.docker.com/_/ros/). Building the image will install the necessary packages, copy the [provided ROS packages and submodules](ROS/) to the container, and build the catkin workspace. @@ -39,7 +39,7 @@ git clone --recurse-submodules https://github.com/Unity-Technologies/Unity-Robot 1. Start the newly built Docker container: ```docker - docker run -it --rm -p 10000:10000 unity-robotics:pick-and-place /bin/bash + sudo docker run -it --rm -p 10000:10000 unity-robotics:pick-and-place /bin/bash ``` When this is complete, it will print: `Successfully tagged unity-robotics:pick-and-place`. This console should open into a bash shell at the ROS workspace root, e.g. `root@8d88ed579657:/catkin_ws#`.