Notifications
Clear all

[Solved] Install ROS2 Jazzy Docker Image on Jetson Orin Nano

1 Posts
1 Users
0 Reactions
293 Views
CES8600
Posts: 8
Admin
Topic starter
(@ces8600)
Member
Joined: 1 year ago

Install ROS2 Jazzy Docker Image on Jetson Orin Nano

https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html

These instructions should work for any Debian-derived distribution.

1. Install the prerequisites for the instructions below:
sudo apt-get update && sudo apt-get install -y --no-install-recommends \
curl \
gnupg2

Configure the production repository:

export NVIDIA_CONTAINER_TOOLKIT_VERSION=1.18.1-1
  sudo apt-get install -y \
      nvidia-container-toolkit=${NVIDIA_CONTAINER_TOOLKIT_VERSION} \
      nvidia-container-toolkit-base=${NVIDIA_CONTAINER_TOOLKIT_VERSION} \
      libnvidia-container-tools=${NVIDIA_CONTAINER_TOOLKIT_VERSION} \
      libnvidia-container1=${NVIDIA_CONTAINER_TOOLKIT_VERSION}

 Optionally, configure the repository to use experimental packages:

sudo sed -i -e '/experimental/ s/^#//g' /etc/apt/sources.list.d/nvidia-container-toolkit.list

Update the packages list from the repository:

sudo apt-get update

Install the NVIDIA Container Toolkit packages:

export NVIDIA_CONTAINER_TOOLKIT_VERSION=1.18.0-1
 sudo apt-get install -y \
 nvidia-container-toolkit=${NVIDIA_CONTAINER_TOOLKIT_VERSION} \
 nvidia-container-toolkit-base=${NVIDIA_CONTAINER_TOOLKIT_VERSION} \
 libnvidia-container-tools=${NVIDIA_CONTAINER_TOOLKIT_VERSION} \
 libnvidia-container1=${NVIDIA_CONTAINER_TOOLKIT_VERSION}

If Docker 28 is already installed and you hit runtime errors, downgrade to 27.5.1. NVIDIA confirms Docker 28 needs kernel configs not enabled on r36.4.x yet. NVIDIA Developer Forums

2. Set default runtime to nvidia
Configuring Docker
  1. Configure the container runtime by using the nvidia-ctk command:
sudo nvidia-ctk runtime configure --runtime=docker
  1. The nvidia-ctk command modifies the /etc/docker/daemon.json file on the host. The file is updated so that Docker can use the NVIDIA Container Runtime.
  2. Restart the Docker daemon:
sudo systemctl restart docker

 


Share:
Scroll to Top