diff --git a/README.md b/README.md index d06a379..c8fd952 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ docker build -t ros2_humble:latest ROS2_humble After all the containers are successfully built and the bridge network is established we can now start both containers. On one terminal run the following command to start the URSim container ```bash -docker run -it --name URSIM -p 6080:6080 -p8000:8000 -p7000:7000 -p5005:5005 -p50002:50002 -v./workspace:/workspace --network ros_ursim ursim:latest +docker run --name URSIM -it -p 6080:6080 --network ros_ursim ursim:latest ``` When successfully started this container will print its IP address in the terminal. Note this down: @@ -73,7 +73,7 @@ IP address of the simulator On another terminal run ``` -docker run -it --name ROS --network ros_ursim -p50002:50002 -p8000:8000 -p7000:7000 -p5005:5005 ros2_humble:latest +docker run -it --name ROS --network ros_ursim -p50002-50100:50002-50100 -p5005-8000:5005-8000 ros2_humble:latest ``` Also note the IP address, using `hostname`