• Hardware Platform (Jetson / GPU) * nano
• DeepStream Version 7.0
• JetPack Version (valid for Jetson only) 6.0
• TensorRT Version 8.6.2.3-1+cuda12.2
• NVIDIA GPU Driver Version (valid for GPU only) NVIDIA-SMI 540.2.0
• Issue Type( questions, new requirements, bugs)
Github Link :
When I try to install :
To install NVIDIA container toolkit follow these instructions:
Setup docker repository
sudo apt-get update sudo apt-get install ca-certificates curl gnupg lsb-release sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg echo “deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] Index of linux/ubuntu/ $(lsb_release -cs) stable” | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
Install Docker
sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
Install nvidia-docker
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \ && curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \ && curl -s -L https://nvidia.github.io/libnvidia-container/$distribution/libnvidia-container.list | \ sed ‘s#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g ’ | \ sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
It give error at sudo systemctl restart docker
ter/deepstream-retail-analytics$ sudo systemctl restart docker
Job for docker.service failed because the control process exited with error code.
See “systemctl status docker.service” and “journalctl -xeu docker.service” for details.
fanzh
September 13, 2024, 11:39am
3
the doc above is a little old. please refer to this link for how to install NVIDIA Container Toolkit.
fanzh
September 18, 2024, 2:26am
4
Sorry for the late reply, Is this still an DeepStream issue to support? Thanks!
Sorry to say you, it does not work.
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg
&& curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list |
sed ‘s#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g ’ |
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
sed -i -e ‘/experimental/ s/^#//g’ /etc/apt/sources.list.d/nvidia-container-toolkit.list
sudo apt-get update
sudo apt-get install -y nvidia-container-toolkit
sudo nvidia-ctk runtime configure --runtime=docker
When executed : sudo systemctl restart docker
$ sudo systemctl restart docker
Failed to restart docker.service: Unit docker.service not found.
fanzh
September 25, 2024, 1:28am
7
what is the device model? Orin nano? could you share a whole log? wondering if there is any error tip.
abhijeetthakare241093:
(Jetson / GPU) * nano
It’s orin nano:
Please find log file here.
logfile_retailanalytics.txt (12.3 KB)
fanzh
September 25, 2024, 1:41am
9
Noticing you are using Jetson and DeepStream 7.0, please refer to this link for how to install docker and nvidia-container-toolkit.
tried this one Ubuntu | Docker Docs as you mentioned, but getting same error.
Job for docker.service failed because the control process exited with error code.
See “systemctl status docker.service” and “journalctl -xeu docker.service” for details.
Log :
logfile_retailanalytics.txt (20.8 KB)
fanzh
September 25, 2024, 5:49am
11
nvcr.io/nvidia/deepstream:6.1-devel is dgpu docker. from the description in the doc , the code was not tested on Jetson. currently there are some suggestions.
please ignore the step " systemctl restart docker", which is not mentioned in the official installation doc .
please refer to the new retail sample .