I am trying to replicate this on my local machine. https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_slam#quickstart. I followed the steps and reached an error after running the following script.
cd ${ISAAC_ROS_WS}/src/isaac_ros_common && \
./scripts/run_dev.sh ${ISAAC_ROS_WS}
Running isaac_ros_dev-x86_64-container
docker: Error response from daemon: unknown or invalid runtime name: nvidia.
When I execute the script, it builds the container fine but is unable to run it. I have tried all the suggestions that are posted elsewhere including
sudo systemctl daemon-reload
sudo systemctl restart docker
sudo pkill -SIGHUP dockerd
I am unsure where the issue is. I am running Ubuntu 22.04 using WSL2 and everything is up to date. I have nvidia-container-runtime and nvidia-docker2 installed. My daemon.json file is located under Linux/Ubuntu/etc/docker and this is what it contains.
{
"default-runtime": "nvidia",
"runtimes": {
"nvidia": {
"args": [],
"path": "nvidia-container-runtime"
}
}
}
If this is useful, this is the information I receive when I run nvidia-smi.
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.54.06 Driver Version: 536.40 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 2060 ... On | 00000000:09:00.0 On | N/A |
| 0% 49C P8 24W / 175W | 824MiB / 8192MiB | 6% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 22 G /Xwayland N/A |
| 0 N/A N/A 29 G /Xwayland N/A |
| 0 N/A N/A 31 G /Xwayland N/A |
+---------------------------------------------------------------------------------------+
When I run docker info|grep -i runtime it returns
WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
Runtimes: runc io.containerd.runc.v2
Default Runtime: runc
instead of the expected
Runtimes: nvidia runc
Default Runtime: runc
Thank you in advance.