For more Jetson dockers, please look at jetson-containers github repository.
To enable access to the CUDA compiler (nvcc) during docker build
operations, add "default-runtime": "nvidia"
to your /etc/docker/daemon.json
configuration file before attempting to build the containers:
{
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
},
"default-runtime": "nvidia"
}
You will then want to restart the Docker service or reboot your system before proceeding.
Run the following commands to build the dockerfile:
cp /etc/apt/trusted.gpg.d/jetson-ota-public.asc .
sh docker_build.sh
Once you sucessfully build, you will have a ros2-eloquent container with all necessary packages required for this repository.
sh docker_run.sh
This will initialize docker. Clone this repository using following command and follow build and run instructions for ros2 package from here.