This repo contains exercises and supporting documentation for the workshop held on November 3, 2023. Participants learned how to use Docker to run ROS on robot hardware, regardless of the required Ubuntu OS and ROS versions.
If you are new to Docker, take a look at the workshop resources before moving on to the sections below. Read through the PDF presentation fully before watching the workshop zoom recording.
- presentation.pdf
- exercise files
- zoom recording for NRG students
- Install Docker Engine on Ubuntu
- Install NVIDIA Container Toolkit if you are using NVIDIA drivers
- Post-Installation Steps
- Plugin: docker sbom
Follow the instructions at the links above to install Docker Engine for ubuntu, the NVIDIA Container Toolkit if you are using an nvidia graphics card and drivers, and the docker sbom plugin. Use the apt repository installation methods. Be sure to follow the post-installation steps if you want to run docker without sudo
.
Be careful not to install Docker Desktop -- this workshop does not use it. Docker interacts with the Linux kernel, and this workshop assumed working on computers with a native linux OS only. Docker for Windows and Mac both run Docker inside of a VM, and handling that is outside of the scope of this lesson plan.
Follow the instructions at docs/use_the_dev_env to customize and use the Docker container code here as a development environment for working on your own robotics code.