Nombre | Correo | Github |
---|---|---|
José Cisneros | [email protected] | @Josecisneros001 |
-
Ubuntu System (any Distro)
-
Docker
- Follow up the installation tutorial: https://docs.docker.com/engine/install/ubuntu/
-
Nvidia Support Installation (Optional, Rviz & Gazebo could also run with Intel Integrated Graphics Card):
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) && curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - && curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list sudo apt-get update sudo apt-get install -y nvidia-docker2 sudo systemctl restart docker
-
Github Repository
# Cloning with HTTP git clone --recurse-submodules https://github.com/RoBorregos/ros-workshop-2022.git # Cloning with SSH git clone --recurse-submodules [email protected]:RoBorregos/ros-workshop-2022.git # Moving into the repo cd ros-workshop-2022
Build Docker Image and create Docker Container every time there is a change to the Dockerfile.
1-.
sudo make ros.build
2-. Give Executable Permissions if necessary
chmod +x ./run_scripts/*
3-.
- Create with Nvidia Support
sudo make ros.nvidia.create
- Create with Intel Support
sudo make ros.intel.create
- Create without gpu (Rviz & Gazebo will not work)
sudo make ros.create
1-.
- Run container and fire up a shell
sudo make ros.up
sudo make ros.shell
- Stop container
sudo make ros.down
-
Insided the container:
- Use several terminals with terminator
terminator -u
- Use several terminals with terminator
-
Outside the container:
- Show a list of all existing containers.
sudo make list
- Show a list of all running containers.
sudo make listUp
See Makefile to discover other useful commands to manipulate Docker Containers.