-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
38 lines (23 loc) · 904 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# How to launch Docker container
Please follow each step carefully
1. Install Docker (in case Docker is not installed)
sudo apt-get update
sudo apt-get install -y docker.io docker-compose
sudo service docker start
2. Use Docker w/o sudo (in case a new terminal is up)
sudo usermod -aG docker $USER
newgrp docker
3. Launch docker compose file
cd ~/ros2_ws/src/tortoisebot_ros2_docker
docker-compose up -d
4. Verify that the expected containers are up and running
docker ps
5. Execute each running container by the following
docker exec -it [container_name] bash
for example, to run "tortoisebot-ros2-gazebo"
docker exec -it tortoisebot-ros2-gazebo bash
inside the container, run
colcon build
source /ros2_ws/install/setup.bash
ros2 launch tortoisebot_bringup bringup.launch.py use_sim_time:=True
do the same steps for the other containers